RICE Red-Packet Luckydraw Rules Announcement
The RICE Party wallet reward event jointly organized by Loopring and DAOSquare has ended successfully. Now the lottery entitlement wallet address list and lottery mechanism are announced as follows.
Lottery entitlement wallet address list
The following is the address for completing the task and qualifying for the lottery: https://loopring.io/activities/DAOSquare/en/.
Lottery mechanism
We take the 12491024 block of the Ethereum mainnet as the initial lottery block number;
Sort all the remaining addresses in the lottery in ascending lexicographical order, starting with 0;
The number of the winners this time is the block hash value corresponding to the current lottery block number and the remainder after taking the modulo of the total number of participants in the lottery;
Remove this winning address;
The lottery block number plus one;
Repeat steps 2-5 for a total of 10 times.
Lottery example
Assuming that 9 people participated in the lucky draw, there are 2 winners, the lottery block number starts from the 12282650 block of the Ethereum mainnet.
(Note! The nine example addresses here are virtual. The Ethereum block here is only used as an example, the block used in the RICE red-packet lottery is 12491024.)
List of addresses for 9 people:
After sorting in ascending lexicographical order, and numbering from 0:
The hash value of Ethereum 12282650 block:
Therefore, the number of the first winner is 3 and the address is
The second round of the lucky draw list is:
The hash value of Ethereum 12282651
Therefore, the number of the second winner is 4 and the address is
Last updated