bhavineth
Posts: 2
Joined: Sat Aug 12, 2017 4:04 pm

Bachelor thesis about cryptocurrency gambling [winners take it all]

Sat Aug 12, 2017 4:06 pm

Hello community! My name is Bhavin, I'm from India and I'm currently studying business informatics at the university of Duisburg-Essen in Germany.
Since I am nearly done with my studying, I have to write my bachelor thesis, which is what I need your help with.
I am writing about the impact of cryptocurrencies to the gambling business and a small part of it is some kind of practical example.
Since this topic is pretty specialized and requires some good knowledge, I cannot just ask random people on the streets, so I registered here,
because I think you can help me:

I have prepared an anonymous survey with just 7 simple questions about your experiences and thoughts on the topic, which can be found here: https://s.surveyplanet.com/HyPPTz5DW

Further I have prepared a simple betting contract, which can be found under this address: 0xa57a1377df22f3e6d9a520943e96fb3ccd2209bc
The source code is public and verified: https://etherscan.io/address/0xa57a1377 ... 3ccd2209bc
The ABI definition can be found here: https://etherscan.io/address/0xa57a1377 ... 209bc#code

Now here is the game: You can place a bet on a range of how many percent of the people taking the survey above also placed a bet at the contract until 25 August.
You can do so by simply calling the 'place' function on the contract with the range you bet on, while sending 0.05 ether (50 finney).
This will register you to the contract, so you and everyone else, who bet on the same range take all the funds when the game is over.

The range can be one of these: 0, 10, 20, 30, 40, 50, 60, 70, 80, 90, 100.

For example, if on August 25, 100 people took the survey and 58 people placed a bet, the winning range is 50 (because it is in the range 50-59).
Now if actually 8 people placed their bet on 50, each of them will receive around 0.36 ether (which is around 112$).

The contract does not end by a given date, but when I call the 'solve' function on the contract, which will be at August 25, since that is when the survey ends, too.
The example above shows just how I calculate the winning range.
In case some funds could not be sent after solving, I will buy some german beer ;)

If there are any open questions, please post them here. I will try to answer them all.

PS1: Please don't mind my mistakes concerning the contract code, I am not a developer and it took me a couple of hours to satisfy the compiler :p
PS2: In case anyone is interested in my thesis, or the results of the survey, just message me your email and I will send you a copy as soon as it's done.

bhavineth
Posts: 2
Joined: Sat Aug 12, 2017 4:04 pm

Re: Bachelor thesis about cryptocurrency gambling [winners take it all]

Tue Aug 15, 2017 4:15 pm

Looks like the first bets have been placed, we have 30$ in the pot already.

Please participate in this, even if you do not want to place a bet, please take the survey!

It is for a good purpose. Thanks!

Return to “Ethereum”

Who is online

Users browsing this forum: No registered users and 4 guests