Gate optimistic market payouts on proposal and dispute rounds

This commit is contained in:
2026-12-03 04:16:03 +08:00
parent 66f42f7b7f
commit 8aa33385fb
9 changed files with 326 additions and 2 deletions
+2
View File
@@ -11,6 +11,7 @@ mod ledger;
mod market;
mod portfolio;
mod resident;
mod resolution;
use resident::Books;
use anyhow::{ensure, Context, Result};
@@ -46,6 +47,7 @@ impl Exchange {
| "open_orders"
| "positions"
| "trades"
| "resolution"
)
) {
let tx = expiry::transaction(&self.db, TransactionBehavior::Deferred)?;