02 / Payout preview
Right, wrong or void: see all three first.
Enter the pools of a market, the creator's fee and your stake. The three outcomes, the effect of late stakes and the break-even point are worked out with the same integer arithmetic the contract uses. One market at a time is free and needs no wallet.
The defaults are the classic case: 980 HYPE already on YES, 10 on NO, a 2 % fee, and your 10 HYPE on YES. Being right returns 9.8989 HYPE. See the worked example.
The house is not deployed yet, so there are no live markets to load. Your own numbers work, and the contract check runs the compiled contract by eth_call.
At lock with these numbers: pool 1,000.0000 HYPE, fee 20.0000 HYPE to the creator, 980.0000 HYPE shared by the winning side.
Being right still pays back less than you put in: the other side holds 10.0000 HYPE, below the 20.2040 HYPE it needs for a YES stake to break even after a 2% fee.