feat: 添加 YT Asset 合约测试前端

- React + TypeScript + Vite 项目结构
- WalletConnect 钱包连接功能
- WUSD 铸造页面(含边界测试)
- Vault 交易页面(买入/卖出 YT,含边界测试)
- Factory 管理页面(创建 Vault、更新价格,含权限测试)
- 中英文国际化支持
- 显示 Owner/Manager 角色信息

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2025-12-15 17:26:27 +00:00
parent 02dd1049fd
commit 79fede5cb0
27 changed files with 10980 additions and 0 deletions

13
frontend/index.html Normal file
View File

@@ -0,0 +1,13 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>frontend</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>