2017-11-29 05:24:35 +01:00
|
|
|
const DEFAULT_ROUTE = '/'
|
|
|
|
const UNLOCK_ROUTE = '/unlock'
|
2019-01-23 16:25:34 +01:00
|
|
|
const LOCK_ROUTE = '/lock'
|
2017-11-29 05:24:35 +01:00
|
|
|
const SETTINGS_ROUTE = '/settings'
|
2019-03-25 17:13:23 +01:00
|
|
|
const GENERAL_ROUTE = '/settings/general'
|
2019-08-15 23:07:18 +02:00
|
|
|
const CONNECTIONS_ROUTE = '/settings/connections'
|
2019-03-25 17:13:23 +01:00
|
|
|
const ADVANCED_ROUTE = '/settings/advanced'
|
|
|
|
const SECURITY_ROUTE = '/settings/security'
|
|
|
|
const ABOUT_US_ROUTE = '/settings/about-us'
|
2019-05-09 19:27:14 +02:00
|
|
|
const NETWORKS_ROUTE = '/settings/networks'
|
2019-07-31 21:56:44 +02:00
|
|
|
const CONTACT_LIST_ROUTE = '/settings/contact-list'
|
|
|
|
const CONTACT_EDIT_ROUTE = '/settings/contact-list/edit-contact'
|
|
|
|
const CONTACT_ADD_ROUTE = '/settings/contact-list/add-contact'
|
|
|
|
const CONTACT_VIEW_ROUTE = '/settings/contact-list/view-contact'
|
|
|
|
const CONTACT_MY_ACCOUNTS_ROUTE = '/settings/contact-list/my-accounts'
|
|
|
|
const CONTACT_MY_ACCOUNTS_VIEW_ROUTE = '/settings/contact-list/my-accounts/view'
|
|
|
|
const CONTACT_MY_ACCOUNTS_EDIT_ROUTE = '/settings/contact-list/my-accounts/edit'
|
2017-12-04 20:29:52 +01:00
|
|
|
const REVEAL_SEED_ROUTE = '/seed'
|
2019-02-25 20:10:13 +01:00
|
|
|
const MOBILE_SYNC_ROUTE = '/mobile-sync'
|
2017-11-29 05:24:35 +01:00
|
|
|
const RESTORE_VAULT_ROUTE = '/restore-vault'
|
|
|
|
const ADD_TOKEN_ROUTE = '/add-token'
|
2018-05-20 08:04:19 +02:00
|
|
|
const CONFIRM_ADD_TOKEN_ROUTE = '/confirm-add-token'
|
2018-08-07 02:03:49 +02:00
|
|
|
const CONFIRM_ADD_SUGGESTED_TOKEN_ROUTE = '/confirm-add-suggested-token'
|
2018-02-01 03:08:49 +01:00
|
|
|
const NEW_ACCOUNT_ROUTE = '/new-account'
|
|
|
|
const IMPORT_ACCOUNT_ROUTE = '/new-account/import'
|
2018-06-10 09:52:32 +02:00
|
|
|
const CONNECT_HARDWARE_ROUTE = '/new-account/connect'
|
2017-11-29 05:24:35 +01:00
|
|
|
const SEND_ROUTE = '/send'
|
2019-11-04 15:43:24 +01:00
|
|
|
const DEPOSIT_ROUTE = '/deposit'
|
2019-01-23 16:25:34 +01:00
|
|
|
|
2018-03-28 22:21:53 +02:00
|
|
|
const INITIALIZE_ROUTE = '/initialize'
|
2019-01-23 16:25:34 +01:00
|
|
|
const INITIALIZE_WELCOME_ROUTE = '/initialize/welcome'
|
|
|
|
const INITIALIZE_UNLOCK_ROUTE = '/initialize/unlock'
|
2018-04-02 11:59:49 +02:00
|
|
|
const INITIALIZE_CREATE_PASSWORD_ROUTE = '/initialize/create-password'
|
2019-01-23 16:25:34 +01:00
|
|
|
const INITIALIZE_IMPORT_WITH_SEED_PHRASE_ROUTE = '/initialize/create-password/import-with-seed-phrase'
|
2019-02-27 15:46:41 +01:00
|
|
|
const INITIALIZE_SELECT_ACTION_ROUTE = '/initialize/select-action'
|
2019-01-23 16:25:34 +01:00
|
|
|
const INITIALIZE_SEED_PHRASE_ROUTE = '/initialize/seed-phrase'
|
2019-08-06 05:24:19 +02:00
|
|
|
const INITIALIZE_BACKUP_SEED_PHRASE_ROUTE = '/initialize/backup-seed-phrase'
|
2019-02-27 15:46:41 +01:00
|
|
|
const INITIALIZE_END_OF_FLOW_ROUTE = '/initialize/end-of-flow'
|
2019-01-23 16:25:34 +01:00
|
|
|
const INITIALIZE_CONFIRM_SEED_PHRASE_ROUTE = '/initialize/seed-phrase/confirm'
|
2019-03-05 16:45:01 +01:00
|
|
|
const INITIALIZE_METAMETRICS_OPT_IN_ROUTE = '/initialize/metametrics-opt-in'
|
2017-11-29 05:24:35 +01:00
|
|
|
|
2018-06-25 21:06:57 +02:00
|
|
|
const CONFIRM_TRANSACTION_ROUTE = '/confirm-transaction'
|
|
|
|
const CONFIRM_SEND_ETHER_PATH = '/send-ether'
|
|
|
|
const CONFIRM_SEND_TOKEN_PATH = '/send-token'
|
|
|
|
const CONFIRM_DEPLOY_CONTRACT_PATH = '/deploy-contract'
|
|
|
|
const CONFIRM_APPROVE_PATH = '/approve'
|
2018-07-14 22:47:07 +02:00
|
|
|
const CONFIRM_TRANSFER_FROM_PATH = '/transfer-from'
|
2018-06-25 21:06:57 +02:00
|
|
|
const CONFIRM_TOKEN_METHOD_PATH = '/token-method'
|
|
|
|
const SIGNATURE_REQUEST_PATH = '/signature-request'
|
2018-06-23 08:52:45 +02:00
|
|
|
|
2017-11-29 05:24:35 +01:00
|
|
|
module.exports = {
|
|
|
|
DEFAULT_ROUTE,
|
|
|
|
UNLOCK_ROUTE,
|
2019-01-23 16:25:34 +01:00
|
|
|
LOCK_ROUTE,
|
2017-11-29 05:24:35 +01:00
|
|
|
SETTINGS_ROUTE,
|
|
|
|
REVEAL_SEED_ROUTE,
|
2019-02-25 20:10:13 +01:00
|
|
|
MOBILE_SYNC_ROUTE,
|
2017-11-29 05:24:35 +01:00
|
|
|
RESTORE_VAULT_ROUTE,
|
|
|
|
ADD_TOKEN_ROUTE,
|
2018-05-20 08:04:19 +02:00
|
|
|
CONFIRM_ADD_TOKEN_ROUTE,
|
2018-08-07 02:03:49 +02:00
|
|
|
CONFIRM_ADD_SUGGESTED_TOKEN_ROUTE,
|
2018-02-01 03:08:49 +01:00
|
|
|
NEW_ACCOUNT_ROUTE,
|
2017-11-29 05:24:35 +01:00
|
|
|
IMPORT_ACCOUNT_ROUTE,
|
2018-06-10 09:52:32 +02:00
|
|
|
CONNECT_HARDWARE_ROUTE,
|
2017-11-29 05:24:35 +01:00
|
|
|
SEND_ROUTE,
|
2018-03-28 22:21:53 +02:00
|
|
|
INITIALIZE_ROUTE,
|
2019-01-23 16:25:34 +01:00
|
|
|
INITIALIZE_WELCOME_ROUTE,
|
|
|
|
INITIALIZE_UNLOCK_ROUTE,
|
2018-04-02 11:59:49 +02:00
|
|
|
INITIALIZE_CREATE_PASSWORD_ROUTE,
|
2018-03-28 22:21:53 +02:00
|
|
|
INITIALIZE_IMPORT_WITH_SEED_PHRASE_ROUTE,
|
2019-02-27 15:46:41 +01:00
|
|
|
INITIALIZE_SELECT_ACTION_ROUTE,
|
2019-01-23 16:25:34 +01:00
|
|
|
INITIALIZE_SEED_PHRASE_ROUTE,
|
|
|
|
INITIALIZE_CONFIRM_SEED_PHRASE_ROUTE,
|
2019-02-27 15:46:41 +01:00
|
|
|
INITIALIZE_END_OF_FLOW_ROUTE,
|
2018-06-23 08:52:45 +02:00
|
|
|
CONFIRM_TRANSACTION_ROUTE,
|
2018-06-25 21:06:57 +02:00
|
|
|
CONFIRM_SEND_ETHER_PATH,
|
|
|
|
CONFIRM_SEND_TOKEN_PATH,
|
|
|
|
CONFIRM_DEPLOY_CONTRACT_PATH,
|
|
|
|
CONFIRM_APPROVE_PATH,
|
2018-07-14 22:47:07 +02:00
|
|
|
CONFIRM_TRANSFER_FROM_PATH,
|
2018-06-25 21:06:57 +02:00
|
|
|
CONFIRM_TOKEN_METHOD_PATH,
|
|
|
|
SIGNATURE_REQUEST_PATH,
|
2019-03-05 16:45:01 +01:00
|
|
|
INITIALIZE_METAMETRICS_OPT_IN_ROUTE,
|
2019-03-25 17:13:23 +01:00
|
|
|
ADVANCED_ROUTE,
|
|
|
|
SECURITY_ROUTE,
|
|
|
|
GENERAL_ROUTE,
|
2019-08-15 23:07:18 +02:00
|
|
|
CONNECTIONS_ROUTE,
|
2019-03-25 17:13:23 +01:00
|
|
|
ABOUT_US_ROUTE,
|
2019-07-31 21:56:44 +02:00
|
|
|
CONTACT_LIST_ROUTE,
|
|
|
|
CONTACT_EDIT_ROUTE,
|
|
|
|
CONTACT_ADD_ROUTE,
|
|
|
|
CONTACT_VIEW_ROUTE,
|
|
|
|
CONTACT_MY_ACCOUNTS_ROUTE,
|
|
|
|
CONTACT_MY_ACCOUNTS_VIEW_ROUTE,
|
|
|
|
CONTACT_MY_ACCOUNTS_EDIT_ROUTE,
|
2019-05-09 19:27:14 +02:00
|
|
|
NETWORKS_ROUTE,
|
2019-08-06 05:24:19 +02:00
|
|
|
INITIALIZE_BACKUP_SEED_PHRASE_ROUTE,
|
2019-11-04 15:43:24 +01:00
|
|
|
DEPOSIT_ROUTE,
|
2017-11-29 05:24:35 +01:00
|
|
|
}
|