65 lines
2.6 KiB
Dart
65 lines
2.6 KiB
Dart
class RoutePaths {
|
|
RoutePaths._();
|
|
|
|
// Auth
|
|
static const splash = '/';
|
|
static const guide = '/guide';
|
|
static const onboarding = '/onboarding';
|
|
static const createWallet = '/auth/create';
|
|
static const backupMnemonic = '/auth/backup-mnemonic';
|
|
static const verifyMnemonic = '/auth/verify-mnemonic';
|
|
static const walletCreated = '/auth/wallet-created';
|
|
static const importWallet = '/auth/import';
|
|
static const importMnemonic = '/auth/import-mnemonic';
|
|
static const phoneRegister = '/auth/phone-register';
|
|
static const phoneLogin = '/auth/phone-login';
|
|
static const forgotPassword = '/auth/forgot-password';
|
|
static const smsVerify = '/auth/sms-verify';
|
|
static const setPassword = '/auth/set-password';
|
|
|
|
// Main tabs
|
|
static const ranking = '/ranking';
|
|
static const mining = '/mining';
|
|
static const trading = '/trading';
|
|
static const profile = '/profile';
|
|
|
|
// Sub pages
|
|
static const editProfile = '/profile/edit';
|
|
static const referralList = '/profile/referrals';
|
|
static const earningsDetail = '/profile/earnings';
|
|
static const notifications = '/notifications';
|
|
static const accountSwitch = '/account/switch';
|
|
static const deposit = '/deposit';
|
|
static const depositUsdt = '/deposit/usdt';
|
|
static const plantingQuantity = '/planting/quantity';
|
|
static const plantingLocation = '/planting/location';
|
|
static const googleAuth = '/security/google-auth';
|
|
static const changePassword = '/security/password';
|
|
static const bindEmail = '/security/email';
|
|
static const authorizationApply = '/authorization/apply';
|
|
static const transactionHistory = '/trading/history';
|
|
static const ledgerDetail = '/trading/ledger';
|
|
static const withdrawUsdt = '/withdraw/usdt';
|
|
static const withdrawConfirm = '/withdraw/confirm';
|
|
static const withdrawFiat = '/withdraw/fiat';
|
|
static const withdrawFiatConfirm = '/withdraw/fiat/confirm';
|
|
|
|
// Share
|
|
static const share = '/share';
|
|
|
|
// KYC (实名认证) - 三层认证
|
|
static const kycEntry = '/kyc';
|
|
static const kycPhone = '/kyc/phone';
|
|
static const kycId = '/kyc/id'; // 层级1: 实名认证 (二要素)
|
|
static const kycFace = '/kyc/face'; // 层级2: 实人认证 (人脸活体)
|
|
static const kycIdCard = '/kyc/id-card'; // 层级3: KYC (证件照)
|
|
static const changePhone = '/kyc/change-phone';
|
|
|
|
// Contract Signing (合同签署)
|
|
static const contractSigning = '/contract-signing';
|
|
static const pendingContracts = '/contract-signing/pending';
|
|
|
|
// Pending Actions (待办操作)
|
|
static const pendingActions = '/pending-actions';
|
|
}
|