Fully Automated Steem Lottery [2017.04.25 18:42 CET]
Welcome to FASL - Fully Automated Steem Lottery [version 0.2.4_fasl201704251842139777].
The rules are very simple:
- Transfer 1 STEEM to @fasl's account to buy a lottery ticket*.
- Every six hours a winner is chosen and will receive 95%-100%** of the @fasl's account balance.***
Have fun!
* One ticket per round per account. Ticket price is 1 STEEM.
** Refund in case of only one participant is 100%
*** 5% is transfered to @murh's account for the R&D and bot's maintenance.
IF POSSIBLE, PLEASE UPVOTE AND RESTEEM.
Sorry about the crash ... there was a problem contacting the steem network node ... everything should be fine now :)
FASL 0.2.4: STARTING LOTTERY.
How are winners chosen?
using python's
randrange
function:winner = contestants[random.randrange(0,len(contestants),1)]
you can check the whole source code here.
If you don't understand any of that ;) it's like picking a name from a hat or something similar.
FASL 0.2.4: LOTTERY ENDED, BUT THERE WERE NO PARTICIPANTS.