Attention!
Investors are needed to my Weekly Lottery B type game. The game is a verified contract on the Ethereum blockchain:
https://etherscan.io/address/0x3e368966c54C606ef545cCafD43af8bE1deF734F#codeThis game is a regular lottery, where 3 numbers out of 50 should be chosen. Winners are tickets with 2 or 3 hits. One ticket costs 0.1 ether. The tickets can be bought every week until Saturday 12:00:00 (UTC). After that comes the Drawing of lots. Chances for winning:
3 hit: 1:19600,
2 hit: 1:139.
One investment unit is 1 Ether. The investment must be at least 10 units. Canceling the investment is only possible only after 5 draws, and only 24 after hours after the 5th draw. 40 % of the price of each ticket goes to the Investors, in proportion of the invested sum, to a separate balance. This separate balance is called the Profit Balance, and can be withdrawn at any time by its owner.
The sum of the investment amounts and an amount coming from the ticket prices makes the Jackpot. When someone hits the Jackpot, then the state of each Investor will become inactive. An inactive Investor would not continue to receive its share from the Tickets and can’t withdraw his/her funds, only the Profit Balance.
The investment can be done at any time with help of the Đapp.
Calculation of Expected profit:
A = Rate of full hit
B = Ticket price
C = Percent of the ticket price going to Jackpot
X = Our investment amount
Y = Investment amount of the others
Z = Expected profit
Z = ( ( A * B * ( C / 100 ) ) / ( X + Y ) * X ) - X
Example:
( ( 19600 * 0.1 * ( 40 / 100 ) ) / ( 200 + 400 ) * 200 ) - 200 = 61.33 ether
When the contract becomes inactive, then the players and Investors have a 5 week window to withdraw their winnings or funds from the contract.
More technical details can be found here:
https://ethereumlottery.net/doc/WeeklyLotteryB.htmlFor big investors with more than 1000 Ether, the contract can be modified, and a new contract can be created, where instead 3 numbers, 4 numbers must be chosen. Then the winning rate in this case is:
4 hit: 1:230300
3 hit: 1:1251
Then the likely profit is:
( 230300 * 0.1 * ( 40 / 100 ) ) / ( 200 + 400 ) * 200 ) - 200 = 2870.66 ether
Best regards:
iFA
https://ethereumlottery.net