feat: 赎回批量执行与仓位页体验优化

- 赎回:同一账户多市场合并为一笔交易,减少 Relayer 调用次数
- 仓位页:可赎回统计静默刷新,赎回按钮不再常驻 loading
- 账户导入表单、API、多语言等相关改动

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
WrBug
2026-02-14 00:20:41 +08:00
co-authored by Cursor
parent bd323fca35
commit cf2c8a611c
10 changed files with 597 additions and 53 deletions
+23 -1
View File
@@ -215,7 +215,29 @@
"walletTypeHelp": "Web3 Wallet: Polymarket accounts connected via browser wallets like MetaMask\nMagic: Polymarket accounts logged in via email or social accounts (Google, Twitter, etc.)",
"walletTypeMagic": "Magic (Email/Social Login)",
"walletTypeSafe": "Web3 Wallet",
"magicNotSupported": ""
"magicNotSupported": "",
"loadingProxyOptions": "Loading proxy addresses and asset information...",
"selectProxyOption": "Please select a proxy address",
"proxyOptionRequired": "Please select a proxy address",
"proxyOption": {
"magic": {
"description": "Email/Social Login Account (Magic)",
"title": "Magic Proxy Address"
},
"safe": {
"description": "MetaMask Browser Wallet Account (Safe)",
"title": "Safe Proxy Address"
},
"proxyAddress": "Proxy Address",
"availableBalance": "Available Balance",
"positionBalance": "Position Balance",
"totalBalance": "Total Balance",
"positionCount": "Position Count",
"noAssets": "No Assets",
"hasAssets": "Has Assets",
"error": "Failed to fetch",
"select": "Select this proxy address"
}
},
"leader": {
"title": "Leader Management",
+23 -1
View File
@@ -215,7 +215,29 @@
"walletTypeHelp": "Web3钱包:使用 MetaMask 等浏览器钱包连接的 Polymarket 账户\nMagic:通过邮箱或社交账号(如 Google、Twitter)登录的 Polymarket 账户",
"walletTypeMagic": "Magic(邮箱/社交账号登录)",
"walletTypeSafe": "Web3钱包",
"magicNotSupported": ""
"magicNotSupported": "",
"loadingProxyOptions": "正在获取代理地址和资产信息...",
"selectProxyOption": "请选择代理地址",
"proxyOptionRequired": "请选择一个代理地址",
"proxyOption": {
"magic": {
"description": "邮箱/社交账号登录账户(Magic",
"title": "Magic 代理地址"
},
"safe": {
"description": "MetaMask 等浏览器钱包账户(Safe",
"title": "Safe 代理地址"
},
"proxyAddress": "代理地址",
"availableBalance": "可用余额",
"positionBalance": "仓位余额",
"totalBalance": "总余额",
"positionCount": "持仓数量",
"noAssets": "无资产",
"hasAssets": "有资产",
"error": "获取失败",
"select": "选择此代理地址"
}
},
"leader": {
"title": "Leader 管理",
+23 -1
View File
@@ -215,7 +215,29 @@
"walletTypeHelp": "Web3錢包:使用 MetaMask 等瀏覽器錢包連接的 Polymarket 帳戶\nMagic:透過郵箱或社群帳號(如 Google、Twitter)登入的 Polymarket 帳戶",
"walletTypeMagic": "Magic(郵箱/社群帳號登入)",
"walletTypeSafe": "Web3錢包",
"magicNotSupported": ""
"magicNotSupported": "",
"loadingProxyOptions": "正在獲取代理地址和資產信息...",
"selectProxyOption": "請選擇代理地址",
"proxyOptionRequired": "請選擇一個代理地址",
"proxyOption": {
"magic": {
"description": "郵箱/社群帳號登入帳戶(Magic",
"title": "Magic 代理地址"
},
"safe": {
"description": "MetaMask 等瀏覽器錢包帳戶(Safe",
"title": "Safe 代理地址"
},
"proxyAddress": "代理地址",
"availableBalance": "可用餘額",
"positionBalance": "倉位餘額",
"totalBalance": "總餘額",
"positionCount": "持倉數量",
"noAssets": "無資產",
"hasAssets": "有資產",
"error": "獲取失敗",
"select": "選擇此代理地址"
}
},
"leader": {
"title": "Leader 管理",