Keep negative-risk conversions collateralized after verdicts and redemption

This commit is contained in:
2026-12-03 13:10:44 +08:00
parent 0f608db47f
commit 98eece1c50
5 changed files with 128 additions and 29 deletions
+8
View File
@@ -385,6 +385,14 @@ sequenceDiagram
N->>D: 将组合准备金拨给赢家,保存赢家 ID
E->>D: 核对该盘口的应付金额并提交裁决
U->>E: redeem 按持有份额领取兑付
U->>E: 再次 convert,交出仍持有的 NO
E->>N: 同一写事务读取已记录的赢家
alt 赢家在输出中
N->>D: 增加赢家 YES 及其足额抵押,用户与金库按费率分配
else 赢家 NO 在输入中
N->>D: 扣减赢家 NO,保留全部赢家 YES 的抵押
end
E-->>U: 提交后新增的赢家 YES 即可赎回
```
## 开盘后出现新候选人