Expose public resolution lifecycle and preserve arbitration after a reset
This commit is contained in:
@@ -312,3 +312,24 @@ sequenceDiagram
|
||||
H->>E: 验证签名,从上一笔订单之后继续
|
||||
E-->>C: 剩余成交,末页 next_cursor 为空
|
||||
```
|
||||
|
||||
### 裁决状态
|
||||
|
||||
`GET /v2/resolutions?condition=m` 读取单盘状态,`?event_id=1` 读取事件的各个盘口。已登记问题标识的乐观裁决市场也支持 question_id 查询。多个条件或多个事件用逗号分隔,每次选择一种查询方式。
|
||||
|
||||
```mermaid
|
||||
flowchart LR
|
||||
H["market_http.rs · GET 参数"] --> Q["exchange/resolution/http.rs"]
|
||||
Q --> D["exchange/resolution/state.sql"]
|
||||
```
|
||||
|
||||
```mermaid
|
||||
sequenceDiagram
|
||||
participant C as 客户端
|
||||
participant H as market_http.rs
|
||||
participant E as Exchange
|
||||
C->>H: GET /v2/resolutions?event_id=1
|
||||
H->>E: 校验选择器,读取事件下的各盘
|
||||
E-->>H: 每个可见市场一行
|
||||
H-->>C: 200 data 数组,未找到返回空数组
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user