2021-02-04 19:15:23 +01:00
|
|
|
export const GO_HOME = 'GO_HOME';
|
2020-05-06 20:56:09 +02:00
|
|
|
// modal state
|
2021-02-04 19:15:23 +01:00
|
|
|
export const MODAL_OPEN = 'UI_MODAL_OPEN';
|
|
|
|
export const MODAL_CLOSE = 'UI_MODAL_CLOSE';
|
2020-05-06 20:56:09 +02:00
|
|
|
// alert state
|
2021-02-04 19:15:23 +01:00
|
|
|
export const ALERT_OPEN = 'UI_ALERT_OPEN';
|
|
|
|
export const ALERT_CLOSE = 'UI_ALERT_CLOSE';
|
|
|
|
export const QR_CODE_DETECTED = 'UI_QR_CODE_DETECTED';
|
2020-05-06 20:56:09 +02:00
|
|
|
// network dropdown open
|
2021-02-04 19:15:23 +01:00
|
|
|
export const NETWORK_DROPDOWN_OPEN = 'UI_NETWORK_DROPDOWN_OPEN';
|
|
|
|
export const NETWORK_DROPDOWN_CLOSE = 'UI_NETWORK_DROPDOWN_CLOSE';
|
2023-07-14 18:18:41 +02:00
|
|
|
export const IMPORT_NFTS_MODAL_OPEN = 'UI_IMPORT_NFTS_MODAL_OPEN';
|
|
|
|
export const IMPORT_NFTS_MODAL_CLOSE = 'UI_IMPORT_NFTS_MODAL_CLOSE';
|
2023-08-01 20:21:51 +02:00
|
|
|
export const SHOW_IPFS_MODAL_OPEN = 'UI_IPFS_MODAL_OPEN';
|
|
|
|
export const SHOW_IPFS_MODAL_CLOSE = 'UI_IPFS_MODAL_CLOSE';
|
2023-08-14 18:08:59 +02:00
|
|
|
export const IMPORT_TOKENS_POPOVER_OPEN = 'UI_IMPORT_TOKENS_POPOVER_OPEN';
|
|
|
|
export const IMPORT_TOKENS_POPOVER_CLOSE = 'UI_IMPORT_TOKENS_POPOVER_CLOSE';
|
2020-05-06 20:56:09 +02:00
|
|
|
// remote state
|
2021-02-04 19:15:23 +01:00
|
|
|
export const UPDATE_METAMASK_STATE = 'UPDATE_METAMASK_STATE';
|
|
|
|
export const SELECTED_ADDRESS_CHANGED = 'SELECTED_ADDRESS_CHANGED';
|
2021-06-23 23:35:25 +02:00
|
|
|
export const SELECTED_ACCOUNT_CHANGED = 'SELECTED_ACCOUNT_CHANGED';
|
|
|
|
export const ACCOUNT_CHANGED = 'ACCOUNT_CHANGED';
|
|
|
|
export const CHAIN_CHANGED = 'CHAIN_CHANGED';
|
|
|
|
export const ADDRESS_BOOK_UPDATED = 'ADDRESS_BOOK_UPDATED';
|
2021-07-08 22:23:00 +02:00
|
|
|
export const GAS_FEE_ESTIMATES_UPDATED = 'GAS_FEE_ESTIMATES_UPDATED';
|
2021-02-04 19:15:23 +01:00
|
|
|
export const CLOSE_WELCOME_SCREEN = 'CLOSE_WELCOME_SCREEN';
|
2020-05-06 20:56:09 +02:00
|
|
|
// unlock screen
|
2021-02-04 19:15:23 +01:00
|
|
|
export const UNLOCK_IN_PROGRESS = 'UNLOCK_IN_PROGRESS';
|
|
|
|
export const UNLOCK_FAILED = 'UNLOCK_FAILED';
|
|
|
|
export const UNLOCK_SUCCEEDED = 'UNLOCK_SUCCEEDED';
|
|
|
|
export const LOCK_METAMASK = 'LOCK_METAMASK';
|
2020-05-06 20:56:09 +02:00
|
|
|
// error handling
|
2021-02-04 19:15:23 +01:00
|
|
|
export const DISPLAY_WARNING = 'DISPLAY_WARNING';
|
|
|
|
export const HIDE_WARNING = 'HIDE_WARNING';
|
2021-07-23 01:13:40 +02:00
|
|
|
export const CAPTURE_SINGLE_EXCEPTION = 'CAPTURE_SINGLE_EXCEPTION';
|
2020-05-06 20:56:09 +02:00
|
|
|
// accounts screen
|
2021-02-04 19:15:23 +01:00
|
|
|
export const SHOW_ACCOUNTS_PAGE = 'SHOW_ACCOUNTS_PAGE';
|
|
|
|
export const SHOW_CONF_TX_PAGE = 'SHOW_CONF_TX_PAGE';
|
2020-05-06 20:56:09 +02:00
|
|
|
// account detail screen
|
2021-02-04 19:15:23 +01:00
|
|
|
export const SHOW_SEND_TOKEN_PAGE = 'SHOW_SEND_TOKEN_PAGE';
|
|
|
|
export const SHOW_PRIVATE_KEY = 'SHOW_PRIVATE_KEY';
|
|
|
|
export const SET_ACCOUNT_LABEL = 'SET_ACCOUNT_LABEL';
|
|
|
|
export const CLEAR_ACCOUNT_DETAILS = 'CLEAR_ACCOUNT_DETAILS';
|
2023-05-03 19:09:13 +02:00
|
|
|
export const SET_ACCOUNT_DETAILS_ADDRESS = 'SET_ACCOUNT_DETAILS_ADDRESS';
|
2020-05-06 20:56:09 +02:00
|
|
|
// tx conf screen
|
2021-02-04 19:15:23 +01:00
|
|
|
export const COMPLETED_TX = 'COMPLETED_TX';
|
|
|
|
export const TRANSACTION_ERROR = 'TRANSACTION_ERROR';
|
|
|
|
export const UPDATE_TRANSACTION_PARAMS = 'UPDATE_TRANSACTION_PARAMS';
|
|
|
|
export const SET_NEXT_NONCE = 'SET_NEXT_NONCE';
|
2020-05-06 20:56:09 +02:00
|
|
|
// config screen
|
2020-11-03 00:41:28 +01:00
|
|
|
export const SET_HARDWARE_WALLET_DEFAULT_HD_PATH =
|
2021-02-04 19:15:23 +01:00
|
|
|
'SET_HARDWARE_WALLET_DEFAULT_HD_PATH';
|
2020-05-06 20:56:09 +02:00
|
|
|
// loading overlay
|
2021-02-04 19:15:23 +01:00
|
|
|
export const SHOW_LOADING = 'SHOW_LOADING_INDICATION';
|
|
|
|
export const HIDE_LOADING = 'HIDE_LOADING_INDICATION';
|
2020-05-06 20:56:09 +02:00
|
|
|
|
2021-02-04 19:15:23 +01:00
|
|
|
export const TOGGLE_ACCOUNT_MENU = 'TOGGLE_ACCOUNT_MENU';
|
2023-04-13 18:54:03 +02:00
|
|
|
export const TOGGLE_NETWORK_MENU = 'TOGGLE_NETWORK_MENU';
|
2020-05-06 20:56:09 +02:00
|
|
|
|
2021-05-05 15:58:29 +02:00
|
|
|
// preferences
|
2021-02-04 19:15:23 +01:00
|
|
|
export const UPDATE_CUSTOM_NONCE = 'UPDATE_CUSTOM_NONCE';
|
2020-05-06 20:56:09 +02:00
|
|
|
|
2021-02-04 19:15:23 +01:00
|
|
|
export const SET_PARTICIPATE_IN_METAMETRICS = 'SET_PARTICIPATE_IN_METAMETRICS';
|
2020-05-06 20:56:09 +02:00
|
|
|
|
|
|
|
// locale
|
2021-02-04 19:15:23 +01:00
|
|
|
export const SET_CURRENT_LOCALE = 'SET_CURRENT_LOCALE';
|
2020-05-06 20:56:09 +02:00
|
|
|
|
|
|
|
// Onboarding
|
2021-02-04 19:15:23 +01:00
|
|
|
export const COMPLETE_ONBOARDING = 'COMPLETE_ONBOARDING';
|
2022-10-04 17:52:42 +02:00
|
|
|
export const ONBOARDED_IN_THIS_UI_SESSION = 'ONBOARDED_IN_THIS_UI_SESSION';
|
2020-05-06 20:56:09 +02:00
|
|
|
|
2021-02-04 19:15:23 +01:00
|
|
|
export const SET_MOUSE_USER_STATE = 'SET_MOUSE_USER_STATE';
|
2020-05-06 20:56:09 +02:00
|
|
|
|
2021-10-21 21:17:03 +02:00
|
|
|
// Ledger
|
|
|
|
|
|
|
|
export const SET_WEBHID_CONNECTED_STATUS = 'SET_WEBHID_CONNECTED_STATUS';
|
2021-11-04 19:19:53 +01:00
|
|
|
export const SET_LEDGER_TRANSPORT_STATUS = 'SET_LEDGER_TRANSPORT_STATUS';
|
2021-10-21 21:17:03 +02:00
|
|
|
|
2020-05-06 20:56:09 +02:00
|
|
|
// Network
|
2021-02-04 19:15:23 +01:00
|
|
|
export const SET_PENDING_TOKENS = 'SET_PENDING_TOKENS';
|
|
|
|
export const CLEAR_PENDING_TOKENS = 'CLEAR_PENDING_TOKENS';
|
2020-05-06 20:56:09 +02:00
|
|
|
|
2021-02-04 19:15:23 +01:00
|
|
|
export const SET_FIRST_TIME_FLOW_TYPE = 'SET_FIRST_TIME_FLOW_TYPE';
|
2020-05-06 20:56:09 +02:00
|
|
|
|
2023-03-09 22:00:28 +01:00
|
|
|
export const SET_SELECTED_NETWORK_CONFIGURATION_ID =
|
|
|
|
'SET_SELECTED_NETWORK_CONFIGURATION_ID';
|
2021-10-25 22:38:43 +02:00
|
|
|
export const SET_NEW_NETWORK_ADDED = 'SET_NEW_NETWORK_ADDED';
|
2023-03-09 22:00:28 +01:00
|
|
|
|
2023-02-16 20:23:29 +01:00
|
|
|
export const SET_NEW_NFT_ADDED_MESSAGE = 'SET_NEW_NFT_ADDED_MESSAGE';
|
|
|
|
export const SET_REMOVE_NFT_MESSAGE = 'SET_REMOVE_NFT_MESSAGE';
|
2020-05-06 20:56:09 +02:00
|
|
|
|
2021-02-04 19:15:23 +01:00
|
|
|
export const LOADING_METHOD_DATA_STARTED = 'LOADING_METHOD_DATA_STARTED';
|
|
|
|
export const LOADING_METHOD_DATA_FINISHED = 'LOADING_METHOD_DATA_FINISHED';
|
2020-05-06 20:56:09 +02:00
|
|
|
|
2021-02-04 19:15:23 +01:00
|
|
|
export const SET_REQUEST_ACCOUNT_TABS = 'SET_REQUEST_ACCOUNT_TABS';
|
|
|
|
export const SET_OPEN_METAMASK_TAB_IDS = 'SET_OPEN_METAMASK_TAB_IDS';
|
2021-04-28 18:51:41 +02:00
|
|
|
|
|
|
|
// Home Screen
|
|
|
|
export const HIDE_WHATS_NEW_POPUP = 'HIDE_WHATS_NEW_POPUP';
|
2021-08-06 01:59:58 +02:00
|
|
|
export const TOGGLE_GAS_LOADING_ANIMATION = 'TOGGLE_GAS_LOADING_ANIMATION';
|
2022-01-20 16:42:13 +01:00
|
|
|
|
2022-02-18 17:48:38 +01:00
|
|
|
// Smart Transactions
|
|
|
|
export const SET_SMART_TRANSACTIONS_ERROR = 'SET_SMART_TRANSACTIONS_ERROR';
|
|
|
|
export const DISMISS_SMART_TRANSACTIONS_ERROR_MESSAGE =
|
|
|
|
'DISMISS_SMART_TRANSACTIONS_ERROR_MESSAGE';
|
|
|
|
|
2022-03-02 18:57:46 +01:00
|
|
|
export const TOGGLE_CURRENCY_INPUT_SWITCH = 'TOGGLE_CURRENCY_INPUT_SWITCH';
|
2022-05-09 19:47:06 +02:00
|
|
|
|
|
|
|
// Token detection v2
|
|
|
|
export const SET_NEW_TOKENS_IMPORTED = 'SET_NEW_TOKENS_IMPORTED';
|
2022-11-07 19:21:38 +01:00
|
|
|
|
|
|
|
// Token allowance
|
|
|
|
export const SET_CUSTOM_TOKEN_AMOUNT = 'SET_CUSTOM_TOKEN_AMOUNT';
|
2023-02-23 17:39:48 +01:00
|
|
|
|
2023-04-25 16:32:51 +02:00
|
|
|
///: BEGIN:ONLY_INCLUDE_IN(desktop)
|
2023-02-23 17:39:48 +01:00
|
|
|
export const FORCE_DISABLE_DESKTOP = 'FORCE_DISABLE_DESKTOP';
|
|
|
|
///: END:ONLY_INCLUDE_IN
|