106
Stakeholder Proposals / Re: Proxy: cryptobridge
« on: February 13, 2019, 04:03:12 am »
I am glad to see that CryptoBridge as an entity is going to be more involved.
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
You can add the expected transfer fee as deduction to payout, no reason to stop due to that
#get head block number, better than irreversible
blockNum = blockchain.get_current_block_num()
print('Block number: {}'.format(blockNum))
userGuess = userRoll
seed(blockNum * (userGuess + 1))
diceRatios = btsDiceRatios
winRatio = diceRatios.get_ratio(userGuess)
value = randint(1, 100)
correctGuess = value < int(userGuess)
Code: [Select]If profit(this_month) < limited_only_by_my_greed
return user_guess + random
else
return random
jk, no clue. Of course important question!