feat: exchange api security handle

This commit is contained in:
icy
2025-11-07 16:22:56 +08:00
parent 5e5a1df1a7
commit b715020d35
4 changed files with 52 additions and 47 deletions

View File

@@ -108,19 +108,14 @@ export interface AIModel {
export interface Exchange {
id: string
user_id: string
name: string
type: 'cex' | 'dex'
enabled: boolean
apiKey?: string
secretKey?: string
testnet?: boolean
// Hyperliquid 特定字段
hyperliquidWalletAddr?: string
// Aster 特定字段
asterUser?: string
asterSigner?: string
asterPrivateKey?: string
deleted?: boolean
deleted: boolean
created_at: string
updated_at: string
}
export interface CreateTraderRequest {