Files
assetx/webapp-back/lending/routers.go

15 lines
727 B
Go
Raw Normal View History

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