Bet Cancelation
This means bettor has won
Initial State
Assumptions
State
This is the state of the funds after bet placement.
Balances Table
Bettor | BetFeeCollector | OrderBookLiquidity | Market Creator |
---|---|---|---|
|
|
|
|
Participation Table
Participant | Liquidity amount | HouseFeeCollector Balance |
---|---|---|
Participant 1 |
|
|
Participant 2 |
|
|
Cancelation State
Calculations
The bettor Balance: The bet amount and the fee will be returned to the bettor and the balance would be the same as the initial state
1,000,000,005usge
Order Book Liquidity Balance: The deposit amount will be returned to the Participant1 balance
10,000usge
House Fee Collector Balance: The deposit fee will be returned to the Participant1 and Participant2 balances so the module account balance will be
0usge
Participant 1: Will receive the deposit and the house fee.
Participant 2: Will receive the deposit and the house fee.
State
Betting Table
Bettor | BetFeeCollector | OrderBookLiquidity | Market Creator |
---|---|---|---|
|
|
|
|
Participation Table
Participant | Liquidity amount | HouseFeeCollector Balance |
---|---|---|
Participant 1 |
|
|
Participant 2 |
|
|
Last updated