I just saw this great project today,
@Xypher awesome
do you have the plan for the prediction market's backend?
I have thought something like this before, here is my way:
1. issue 16 smart assets: BET1, BET2, .... BET16, reserved by USD.(or CNY/TCNY, because lack of USD now)
2. the initial price is both 16CNY/BETX
3. after 1st round, there are 8 winers and 8 losers, change loser's price to 8CNY/BTS.
4. enable force settle.
5. after the period of force settle, start a new round, disable force settle, change all 16 asset's price to 8CNY/BETX
as a player, for example I bet BET1 win BET2, I should borrow BET2, and sell BET2 for BET1 at a price from 0.5~2.
the benifit for this is you can reuse these assets, everyone should ask for settle, because the price allways /2
I have test the whole steps in test chain, it's run perfectly.