2017-11-29 05:24:35 +01:00
|
|
|
const DEFAULT_ROUTE = '/'
|
|
|
|
const UNLOCK_ROUTE = '/unlock'
|
|
|
|
const SETTINGS_ROUTE = '/settings'
|
|
|
|
const INFO_ROUTE = '/settings/info'
|
2017-12-04 20:29:52 +01:00
|
|
|
const REVEAL_SEED_ROUTE = '/seed'
|
|
|
|
const CONFIRM_SEED_ROUTE = '/confirm-seed'
|
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-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'
|
|
|
|
const NOTICE_ROUTE = '/notice'
|
2018-03-28 22:21:53 +02:00
|
|
|
const WELCOME_ROUTE = '/welcome'
|
|
|
|
const INITIALIZE_ROUTE = '/initialize'
|
2018-04-02 11:59:49 +02:00
|
|
|
const INITIALIZE_CREATE_PASSWORD_ROUTE = '/initialize/create-password'
|
2018-03-28 22:21:53 +02:00
|
|
|
const INITIALIZE_IMPORT_ACCOUNT_ROUTE = '/initialize/import-account'
|
|
|
|
const INITIALIZE_IMPORT_WITH_SEED_PHRASE_ROUTE = '/initialize/import-with-seed-phrase'
|
2018-03-30 23:51:11 +02:00
|
|
|
const INITIALIZE_UNIQUE_IMAGE_ROUTE = '/initialize/unique-image'
|
2018-04-02 11:59:49 +02:00
|
|
|
const INITIALIZE_NOTICE_ROUTE = '/initialize/notice'
|
|
|
|
const INITIALIZE_BACKUP_PHRASE_ROUTE = '/initialize/backup-phrase'
|
|
|
|
const INITIALIZE_CONFIRM_SEED_ROUTE = '/initialize/confirm-phrase'
|
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,
|
|
|
|
SETTINGS_ROUTE,
|
|
|
|
INFO_ROUTE,
|
|
|
|
REVEAL_SEED_ROUTE,
|
2017-12-04 20:29:52 +01:00
|
|
|
CONFIRM_SEED_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-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,
|
|
|
|
NOTICE_ROUTE,
|
2018-03-28 22:21:53 +02:00
|
|
|
WELCOME_ROUTE,
|
|
|
|
INITIALIZE_ROUTE,
|
2018-04-02 11:59:49 +02:00
|
|
|
INITIALIZE_CREATE_PASSWORD_ROUTE,
|
2018-03-28 22:21:53 +02:00
|
|
|
INITIALIZE_IMPORT_ACCOUNT_ROUTE,
|
|
|
|
INITIALIZE_IMPORT_WITH_SEED_PHRASE_ROUTE,
|
2018-03-30 23:51:11 +02:00
|
|
|
INITIALIZE_UNIQUE_IMAGE_ROUTE,
|
2018-04-02 11:59:49 +02:00
|
|
|
INITIALIZE_NOTICE_ROUTE,
|
|
|
|
INITIALIZE_BACKUP_PHRASE_ROUTE,
|
|
|
|
INITIALIZE_CONFIRM_SEED_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,
|
2017-11-29 05:24:35 +01:00
|
|
|
}
|