Files
eventbook-exchange/docs/examples/augmented.jsonl

12 lines
1.9 KiB
JSON

{"op": "event", "id": "event-election", "event": "election", "title": "模拟选举", "category": "politics", "slug": "sample-election"}
{"op": "list", "id": "list-a", "market": "a", "rules": "甲获胜时为 YES。以模拟选举公告为准。", "listing": {"event": "election", "question": "最终胜者属于「甲」吗?", "yes_label": "是", "no_label": "否", "group_title": "甲", "source": "模拟结果公告", "resolver": "本地裁决员", "rules_version": 1}}
{"op": "list", "id": "list-b", "market": "b", "rules": "以命名公告确定参选者,该参选者获胜时为 YES;未命名则为 NO。以模拟选举公告为准。", "listing": {"event": "election", "question": "待公告的参选者获胜吗?", "yes_label": "是", "no_label": "否", "group_title": "预留位", "source": "模拟结果公告", "resolver": "本地裁决员", "rules_version": 1}}
{"op": "list", "id": "list-other", "market": "other", "rules": "获胜者在最终裁决时仍未被列名则为 YES。以模拟选举公告为准。", "listing": {"event": "election", "question": "最终胜者属于「其他」吗?", "yes_label": "是", "no_label": "否", "group_title": "其他", "source": "模拟结果公告", "resolver": "本地裁决员", "rules_version": 1}}
{"op": "define_neg_risk", "id": "group-1", "group": "winner", "event": "election", "markets": ["a", "b", "other"], "augmented": {"other": "other", "placeholders": ["b"]}}
{"op": "fund", "id": "fund", "account": "user", "cents": 3000}
{"op": "split", "id": "split-a", "account": "user", "market": "a", "qty": 2}
{"op": "convert", "id": "convert-a", "group": "winner", "account": "user", "no_markets": ["a"], "qty": 1}
{"op": "open", "id": "open-slot", "market": "b"}
{"op": "clarify", "id": "name-slot", "market": "b", "name": "丙", "question": "丙会赢得模拟选举吗?", "evidence": "模拟公告 7"}
{"op": "catalog", "event": "election"}