export const ACTION = { CHANGE_LNG : 'CHANGE_LNG' , CHANGE_MENU : 'CHANGE_MENU' , CHANGE_TAB : 'CHANGE_TAB' , ADD_BACK_TAB : 'ADD_BACK_TAB' , REMOVE_BACK_TAB : 'REMOVE_BACK_TAB' , CHANGE_NETWORK : 'CHANGE_NETWORK' , CHANGE_LOCK : 'CHANGE_LOCK' , ADD_ACCOUNT : 'ADD_ACCOUNT' , REMOVE_ACCOUNT : 'REMOVE_ACCOUNT' , SET_PASSWORD : 'SET_PASSWORD' , SET_CONFIG : 'SET_CONFIG' , SET_PASSWORD_PENDING : 'SET_PASSWORD_PENDING' , SET_PASSWORD_UPDATE : 'SET_PASSWORD_UPDATE' , SET_SELECTED_ACCOUNT : 'SET_SELECTED_ACCOUNT' , SET_ACTIVE_ACCOUNT : 'SET_ACTIVE_ACCOUNT' , CLEAR_MESSAGES : 'CLEAR_MESSAGES' , APPROVE : 'CONFIRM' , REJECT : 'REJECT' , REJECT_FOREVER : 'REJECT_FOREVER' , REJECT_OK : 'REJECT_OK' , APPROVE_PENDING : 'APPROVE_PENDING' , APPROVE_OK : 'APPROVE_OK' , APPROVE_ERROR : 'APPROVE_ERROR' , APPROVE_REJECT_CLEAR : 'APPROVE_REJECT_CLEAR' , UNLOCK : 'UNLOCK' , LOCK : 'LOCK' , LOGIN : 'LOGIN' , LOGIN_PENDING : 'LOGIN_PENDING' , LOGIN_UPDATE : 'LOGIN_UPDATE' , NEW_ACCOUNT_SELECT : 'NEW_ACCOUNT_SELECT' , NEW_ACCOUNT_NAME : 'NEW_ACCOUNT_NAME' , NEW_ACCOUNT_CLEAR_ERRORS : 'NEW_ACCOUNT_CLEAR_ERRORS' , SAVE_NEW_ACCOUNT : 'SAVE_NEW_ACCOUNT' , SAVE_NEW_ACCOUNT_SEND : 'SAVE_NEW_ACCOUNT_SEND' , SAVE_NEW_ACCOUNT_RECEIVE : 'SAVE_NEW_ACCOUNT_RECEIVE' , BATCH_ADD_ACCOUNTS : 'BATCH_ADD_ACCOUNTS' , GET_BALANCES : 'GET_BALANCES' , SELECT_ACCOUNT : 'SELECT_ACCOUNT' , DELETE_ACTIVE_ACCOUNT : 'DELETE_ACTIVE_ACCOUNT' , CHANGE_NODE : 'CHANGE_NODE' , CHANGE_NETWORK_CODE : 'CHANGE_NETWORK_CODE' , CHANGE_MATCHER : 'CHANGE_MATCHER' , UPDATE_FROM_LNG : 'UPDATE_FROM_LNG' , UPDATE_APP_STATE : 'UPDATE_APP_STATE' , UPDATE_UI_STATE : 'UPDATE_UI_STATE' , SET_UI_STATE : 'SET_UI_STATE' , SET_UI_STATE_AND_TAB : 'SET_UI_STATE_AND_TAB' , UPDATE_ACCOUNTS : 'UPDATE_ACCOUNTS' , UPDATE_ALL_NETWORKS_ACCOUNTS : 'UPDATE_ALL_NETWORKS_ACCOUNTS' , UPDATE_SELECTED_ACCOUNT : 'UPDATE_SELECTED_ACCOUNT' , UPDATE_MESSAGES : 'UPDATE_MESSAGES' , UPDATE_TRANSACTION_FEE : 'UPDATE_TRANSACTION_FEE' , UPDATE_ACTIVE_MESSAGE : 'UPDATE_ACTIVE_MESSAGE' , UPDATE_BALANCES : 'UPDATE_BALANCES' , UPDATE_CURRENT_NETWORK : 'UPDATE_CURRENT_NETWORK' , UPDATE_NETWORKS : 'UPDATE_NETWORKS' , UPDATE_ASSETS : 'UPDATE_ASSETS' , FAVORITE_ASSET : 'FAVORITE_ASSET' , UPDATE_NODES : 'UPDATE_NODES' , UPDATE_CODES : 'UPDATE_CODES' , UPDATE_MATCHER : 'UPDATE_MATCHER' , UPDATE_LANGS : 'UPDATE_LANGS' , UPDATE_ORIGINS : 'UPDATE_ORIGINS' , GET_ASSETS : 'GET_ASSETS' , CHANGE_ACCOUNT_NAME : 'CHANGE_ACCOUNT_NAME' , CHANGE_PASSWORD : 'CHANGE_PASSWORD' , DELETE_ACCOUNT : 'DELETE_ACCOUNT' , LOADING : 'LOADING' , CLOSE_WINDOW : 'CLOSE_WINDOW' , NOTIFICATION_ACCOUNT_CREATION_SUCCESS : 'NOTIFICATION_ACCOUNT_CREATION_SUCCESS' , NOTIFICATION_ACCOUNT_IMPORT_SUCCESS : 'NOTIFICATION_ACCOUNT_IMPORT_SUCCESS' , NOTIFICATION_DELETE : 'DELETE_ACCOUNT_NOTIFY' , NOTIFICATION_SELECT : 'SELECT_ACCOUNT_NOTIFY' , NOTIFICATION_NAME_CHANGED : 'NOTIFICATION_NAME_CHANGED' , SIGN_AND_PUBLISH_TRANSACTION : 'SIGN_AND_PUBLISH_TRANSACTION' , UPDATE_EXCHANGERS : 'UPDATE_EXCHANGERS' , PAIRING : { LOADING : 'PAIRING.LOADING' , GET_SEED : 'PAIRING.GET_SEED' , SET_SEED : 'PAIRING.SET_SEED' , } , PERMISSIONS : { DELETE : 'PERMISSIONS.DELETE_ORIGIN' , ALLOW : 'PERMISSIONS.ALLOW_ORIGIN' , SET_AUTO : 'PERMISSIONS.ALLOW_AUTO_ORIGIN' , DISALLOW : 'PERMISSIONS.DISALLOW_ORIGIN' , PENDING : 'PERMISSIONS.PENDING_ORIGIN' , CONFIRMED_ALLOW : 'PERMISSIONS.CONFIRMED_ALLOW' , CONFIRMED_AUTO : 'PERMISSIONS.CONFIRMED_AUTO' , CONFIRMED_DISALLOW : 'PERMISSIONS.CONFIRMED_DISALLOW' , CONFIRMED_DELETE : 'PERMISSIONS.CONFIRMED_DELETE' , } , REMOTE_CONFIG : { SET_CONFIG : 'SET_CONFIG' , UPDATE_IDLE : 'UPDATE_IDLE' , SET_IDLE : 'SET_IDLE' , } , NOTIFICATIONS : { SET : 'NOTIFICATIONS_SET' , SET_SHOWED : 'NOTIFICATIONS_SET_SHOWED' , DELETE : 'NOTIFICATIONS_DELETE' , SET_ACTIVE : 'SET_ACTIVE' , SET_PERMS : 'SET_PERMS' , } , MESSAGES : { SET_ACTIVE_AUTO : 'MESSAGES_SET_ACTIVE_AUTO' , UPDATE_ACTIVE : 'MESSAGES_UPDATE_ACTIVE' , SET_ACTIVE_MESSAGE : 'SET_ACTIVE_MESSAGE' , SET_ACTIVE_NOTIFICATION : 'SET_ACTIVE_NOTIFICATION' , } , } ; export const createAction = type => payload => ( { type , payload } ) ;