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.
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.)