
4D/3D/2D
Guess 4 numbers, 3 numbers, and 2 numbers.
For example, for result: 4321
4D = 4321
3D = 321
2D = 21
Note:   If you buy outside the number issued, it means you lose and the balance will not returned at all.
  Betting balance will not return to members.

1 Number
Guess one number from 4D. Number positions can be anywhere.
For example, if you purchase number 3:
 In case result is 4321, you will win.
 In case result is 4331, you will win double (Because in the result, there are 3 two times).
 In case result is 4333, you will win triple (Because in the result, there are 3 three times).

2 Numbers
Guess two numbers from 4D. Number positions can be anywhere.
For example, if you purchase number 32:
 In case result is 4321, you will win (Because in the result contain both 3 and 2).
 In case result is 4331, you will lose (Because in the result does not contain the number you are purchase).
 In case result is 4332, you will win double (Because in the result there are 3 two times and 2 one time).
 In case result is 2332, you will win double (Because in the result there are 3 three times and 2 two time).
 In case result is 3332, you will win triple (Because in the result there are 3 three times and 2 one time).
Note: In order to win, the result must contain your both of your purchased numbers. 
3 Numbers
Guess three numbers from 4D. Number positions can be anywhere.
For example, if you purchase number 321:
 In case result is 4321, you will win (Because in the result contain 3, 2 and 1).
 In case result is 4331, you will lose (Because in the result does not contain 3 and 2, but did not contain 1).
 In case result is 3321, you will win double (Because in the result there are 2, 1 and 3 two times).
Note: In order to win, the result must contain all of your purchased numbers.
Note:   10% of amount that company win with 4D Lottery will pass to Jackpot Lottery prize.
  Winning prize will automatically calculate into Balance based on current exchange rate.
You need to choose 6 numbers between 00  99.
You can win:
 The jackpot prize by match up all 6 numbers.
 The first prize by match up 5 numbers.
 The second prize by match up 4 numbers.
 The third prize by match up 3 numbers.
Note:   The 6 numbers which you choose, can be match up with the result in ordered or unordered set of numbers.
  Your purchased amount will not return to you. This amount will add to bankroll and become the prize for the next prize result. Do like this, we can ensure that our members will have the big prize.
  20% of amount that company win with Jackpot Lottery will be add to Jackpot Lottery prize.
  Payout fee for award (the fee for winners to claim the prize and services for company):
  Jackpot: 7%
  First prize: 5%
  Second prize: 4%
  Third prize: 3%
  Winning prize will automatically calculate into Balance based on current exchange rate.
The result of our system is very reliable, because we take the result from Ethereum Blockchain. When time to calculate the result come, we take the last block of Ethereum (current block) and compute the result.
For example, if the last block is 8526661.
4D Lottery
We will take the Transaction Hash (0xd1cc0c5f01165f8332b701bcabfda35cc67995f001fc0dc4f3797a7ba20cd7e8) and get only 4 last numbers to be our result (2078).
Jackpot Lottery
Since this type of lottery require 6 unique numbers to ensure that our member will win this, we need to have some combination and calculation.
With the block 8526661 will will have the following params:
  TxHash: 0xd1cc0c5f01165f8332b701bcabfda35cc67995f001fc0dc4f3797a7ba20cd7e8
  Mixed Hash: 0x10e9765c2a69bceb71f0f6991f998f128de3e0ee159927b417b4e22cf5032793
  Receipt Root Hash: 0x74c830309514837dc189192c9360ca76d460470b2ae08151753dee73784de154
  Tx Root Hash: 0xe4093361a7752a792fd8645e732c602aee8010b8a1ddfc69a29d8f5c0dd6815a
  sha3Uncles: 0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347
With these params, we will calculate the result with the following step:
 1. We join that params (sha3Uncles + Tx Root Hash + Receipt Root Hash + Mixed Hash + TxHash).
 2. We replace 0x (prefix for Hexadecimal with blank) and revers that numeric string.
 3. We separate string (af AF) with number then we replace string with some of our fixed numbers (1021) and place it in front of number.
 4. Than we chunk into 2 digits number array and check for unique value.
 5. With the array which already compute, we will take the first 6 numbers to be our result.
In this case we will have result as: 87, 02, 77, 97, 34, 01