init: 初始化 AssetX 项目仓库

包含 webapp(Next.js 用户端)、webapp-back(Go 后端)、
antdesign(管理后台)、landingpage(营销落地页)、
数据库 SQL 和配置文件。
This commit is contained in:
2026-03-27 11:26:43 +00:00
commit 2ee4553b71
634 changed files with 988255 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
package lending
// Routing is now handled in main.go
// All lending routes are registered directly in main.go:
//
// GET /api/lending/position/:address - Get user lending position
// GET /api/lending/stats - Get lending market statistics
// GET /api/lending/markets - Get lending markets configuration
// POST /api/lending/supply - Supply USDC
// POST /api/lending/withdraw - Withdraw USDC
// POST /api/lending/supply-collateral - Supply collateral (YT tokens)
// POST /api/lending/withdraw-collateral - Withdraw collateral
// POST /api/lending/borrow - Borrow USDC
// POST /api/lending/repay - Repay USDC