Bet Cancelation

This means bettor has won

Initial State

Assumptions

State

This is the state of the funds after bet placement.

Balances Table

BettorBetFeeCollectorOrderBookLiquidityMarket Creator

999,989,950usge

0usge

10,045usge

1,000usge

Participation Table

ParticipantLiquidity amountHouseFeeCollector Balance

Participant 1

998,500usge

500usge

Participant 2

999,500usge

500usge

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

BettorBetFeeCollectorOrderBookLiquidityMarket Creator

1,000,000,000usge

0usge

0usge

1,000usge

Participation Table

ParticipantLiquidity amountHouseFeeCollector Balance

Participant 1

1,000,000usge

0usge

Participant 2

1,000,000usge

0usge

Last updated