I will try it again:
1. The owner of the deposit sets a bounty in percent to his deposit (must be done at least 10 hours before expire and will be fixed then)
-> e.g. deposit of 1 BTC, bounty 30%
-> Question: When will the players see this bounty? Directly? 10 hours before expire? After payment?
These specific details are not worth much time dealing with. I think the bounty on a deposit should be visible for at least 10hrs so that Players can sleep for 8hrs. Once a Bounty is advertised it should be unchangeable. It might be interesting to have the bounty increase as time goes on, growing to the configured Bounty. For example the Bounty can be advertised at 12hrs and grow by %10 every hour from 11hrs to 1hr.
2. If this deposit is paid, the owner will get the rest (without the deposit)
-> 1BTC x 125% = 1.25BTC. Minus 30% = 0.875BTC
For a 1BTC deposit 1.3002BTC is needed, so a %30 bounty is .43333334 leaving .81666666 to be paid(I really do suck at math, sometimes). It's a bit troublesome for the owner, but the target audience is the users looking for a good Bounty so the figures are represented to meet their needs.
3. The bounty will be distributed to (all?) ppl, who are "involved". Means their deposits paid the original deposit?
-> Bounty is 30% of 1.25BTC = 0.375BTC. This will be distributed to one or some ppl who deposited at the "correct" time. Correct?
Yes.
A previous payout is likely to leave a remaining balance that's applied to the next payout. Any interim deposits and the final deposit, ignoring it's remaining balance. Take all these figures and assign each address a portion of the Bounty.
Given three addresses each contributing BTC of A, B, and C.
Weighted Average??
Average = Bounty / (A + B + C)
Address(A) = Average * A
Address(B) = Average * B
Address(C) = Average * C
I know I simplified the equations without showing my work, but Average should be 0.3 for a %30 Bounty because (A + B + C) = 1.3002 and Bounty is 1.3002 / 0.3 or something??