leapdao / prime-casino-contracts

Mozilla Public License 2.0
0 stars 0 forks source link

take care of contradicting bets #2

Open johannbarbie opened 5 years ago

johannbarbie commented 5 years ago

if a user bets on yes first, then on no, his bet amount will be 0 and he will not receive any payout. what to do?

pinkiebell commented 5 years ago

Require either yes' orno`. First wins

johannbarbie commented 5 years ago

if i bet on yes already, i can only increase my bet, but not decrease?

pinkiebell commented 5 years ago

I wasn't aware that one could bet multiple times... That's a contradicting logic but still ok. It is an example useCase after all