fix: auto-verify deposit after TX sign, remove manual verify step

The manual "Verify Deposit" step required users to click a button after
signing. Hash was already captured automatically, making the manual step
redundant and risky (modal close = hash lost). Now verification starts
immediately after TX is signed, with spinner UI and retry on failure.
This commit is contained in:
2026-02-26 15:30:30 +03:00
parent 3e310fb980
commit aa7cc78de8
7 changed files with 112 additions and 72 deletions
+4
View File
@@ -1248,6 +1248,10 @@ export default {
'p2pDeposit.tokenLabel': 'الرمز',
'p2pDeposit.amountLabel': 'المبلغ',
'p2pDeposit.done': 'تم',
'p2pDeposit.autoVerifying': 'جاري التحقق من الإيداع...',
'p2pDeposit.autoVerifyingDesc': 'جاري البحث عن معاملتك في البلوكتشين...',
'p2pDeposit.verifyFailed': 'فشل التحقق',
'p2pDeposit.retry': 'حاول مرة أخرى',
'p2pWithdraw.title': 'سحب من رصيد P2P',
'p2pWithdraw.formStep': 'اسحب عملة رقمية من رصيد P2P إلى محفظة خارجية',
+4
View File
@@ -1238,6 +1238,10 @@ export default {
'p2pDeposit.tokenLabel': 'تۆکن',
'p2pDeposit.amountLabel': 'بڕ',
'p2pDeposit.done': 'تەواو',
'p2pDeposit.autoVerifying': 'دانان لە پشتڕاستکردنەوەدایە...',
'p2pDeposit.autoVerifyingDesc': 'لە بلۆکچەین بۆ مامەڵەکەت دەگەڕێت...',
'p2pDeposit.verifyFailed': 'پشتڕاستکردنەوە سەرکەوتوو نەبوو',
'p2pDeposit.retry': 'دووبارە هەوڵ بدەوە',
'p2pWithdraw.title': 'دەرهێنان لە باڵانسی P2P',
'p2pWithdraw.formStep': 'لە باڵانسی P2P کریپتۆ دەربهێنە بۆ جزدانی دەرەکی',
+4
View File
@@ -1591,6 +1591,10 @@ export default {
'p2pDeposit.tokenLabel': 'Token',
'p2pDeposit.amountLabel': 'Amount',
'p2pDeposit.done': 'Done',
'p2pDeposit.autoVerifying': 'Verifying deposit...',
'p2pDeposit.autoVerifyingDesc': 'Searching for your transaction on blockchain...',
'p2pDeposit.verifyFailed': 'Verification failed',
'p2pDeposit.retry': 'Try Again',
// WithdrawModal
'p2pWithdraw.title': 'Withdraw from P2P Balance',
+4
View File
@@ -1261,6 +1261,10 @@ export default {
'p2pDeposit.tokenLabel': 'توکن',
'p2pDeposit.amountLabel': 'مقدار',
'p2pDeposit.done': 'انجام شد',
'p2pDeposit.autoVerifying': 'واریز در حال تأیید...',
'p2pDeposit.autoVerifyingDesc': 'در حال جستجوی تراکنش شما در بلاکچین...',
'p2pDeposit.verifyFailed': 'تأیید ناموفق بود',
'p2pDeposit.retry': 'تلاش مجدد',
// WithdrawModal
'p2pWithdraw.title': 'برداشت از موجودی P2P',
+4
View File
@@ -1253,6 +1253,10 @@ export default {
'p2pDeposit.tokenLabel': 'Token',
'p2pDeposit.amountLabel': 'Miqdar',
'p2pDeposit.done': 'Temam',
'p2pDeposit.autoVerifying': 'Danîn tê piştrastkirin...',
'p2pDeposit.autoVerifyingDesc': 'Li blockchain kirrûbirê te tê lêgerîn...',
'p2pDeposit.verifyFailed': 'Piştrastkirin bi ser neket',
'p2pDeposit.retry': 'Dîsa Biceribîne',
// WithdrawModal
'p2pWithdraw.title': 'Ji Hesabê P2P Vekişîne',
+4
View File
@@ -1247,6 +1247,10 @@ export default {
'p2pDeposit.tokenLabel': 'Token',
'p2pDeposit.amountLabel': 'Miktar',
'p2pDeposit.done': 'Tamam',
'p2pDeposit.autoVerifying': 'Yatırım doğrulanıyor...',
'p2pDeposit.autoVerifyingDesc': "Blockchain'de işleminiz aranıyor...",
'p2pDeposit.verifyFailed': 'Doğrulama başarısız oldu',
'p2pDeposit.retry': 'Tekrar Dene',
// WithdrawModal
'p2pWithdraw.title': 'P2P Bakiyeden Çekim',