BinDay Node

The rally is less than a week away and since this is our first official draw I decided to tell how this is gonna happen.

First I’ll publish some data before the raffle in order to keep it fair and transparent. What kind of data?

  1. Numbered list of participants
  2. The draw amount
  3. Number of the block where random oracle number is generated.

How do we use Centaur oracle from Tradisys in our nearest draw?

We have to explain the logic of determining the winner as the small number of participants we have does not allow using the built-in mathematical algorithms. So we’ll do it another way.

The algorithm is quite simple:
a / b = c
We take the first suitable 4 digits from the oracle number (a) and divide by the number of participants (b). What we get as a result is the winning number (с).
If the first 4 digits of the oracle are not suitable - move one digit to the right.

To make it clearer, take a look at an example using this Data-transaction.

We are interested in the contents of this field:

Remove all the characters from the Value field except the numbers and get the following:
2502151135419989483768084250563494113764

We take the first 4 digits and try to determine the winner:
2502/17 = 147
These numbers do not suit us, since we do not have a participant with the number 147.

Remove the first digit and take the following 4:
5021/17 = 29

Alas, this neither suits us.

Again, we remove the first one and take the following 4 numbers:
0215/17 = 12
The winning number is 12.

The Oracle is located at this address.
Any of you is be able to doublecheck the results of our drawing!