问题:executeBuy使用含销毁倍数的tradeAmount,但买方冻结的是原始金额 原因:买方支付=原始数量×价格,卖方收款=有效数量×价格(含销毁) 修复: - buyerPayAmount = tradeQuantity × price(买方实际支付) - sellerReceiveAmount = effectiveQuantity × price(卖方实际收款) - executeBuy 使用 buyerPayAmount - executeSell 使用 sellerReceiveAmount Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| prisma | ||
| src | ||
| .env.example | ||
| DEVELOPMENT_GUIDE.md | ||
| Dockerfile | ||
| nest-cli.json | ||
| package-lock.json | ||
| package.json | ||
| tsconfig.json | ||