Our Chinese Influenced Lottery: NIUPOT

Niubiswap
3 min readMar 20, 2021

--

EDIT:

We had initially tried to write the code for our Chinese lottery platform from scratch but found it very difficult to complete due to our urgent timeline. Instead, we forked the Pancakeswap lottery and made some changes to the rules then implemented it on our platform.

Rules:

NIUPOT Fee; 1 ticket: 10 NIU

Single User NIUPOT Entry Limit: No limit on total tickets, but maximum of 20 tickets per each batch purchase (all tickets will consist of different numbers)

Each one ticket will give participant a random 4 digit combination with each digit being between 1–8, for e.g. “7–5–8–4”

How to win:

To win the NIUPOT pool (50% of the entire NIUPOT pool), users need to match all 4 numbers on their ticket in the same position (order) as the 4 winning numbers.

If you don’t match all 4, you still have a chance to win. As long as you match 2 or 3 numbers in the correct position, you are guaranteed to claim a reward.

Winning Prizes:

First Prize: Match all 4 numbers in the exact position= win 50% of the pot (or split the pot if there’s multiple winners).

Second Prize: Match 3 numbers in the exact position = win or split 20% of the pot (or split the pot if there’s multiple winners)

Third Prize: Match 2 numbers in the exact position = win 10% of the pot (or split the pot if there’s multiple winners)

We will always burn 20% of the pool.

​ For example; the final 4 winning numbers are “7–5–8–4”:

“7–5–8–4” = match all 4 in the exact order; win or split 50% of the pot

“7–5–8–1”= match 3 in exact order; win or split 20% of the pot

“1–5–8–4”= match 3 in exact order;win or split 20% of the pot

“7–5–0–7” = match 2 in exact order; win or split 10% of the pot

“1–5–8–1” = match 2 in exact order; win or split 10% of the pot

“7–4–7–3” = match 1 in the exact order, lose

“5–7–4–8”= match 4 but not in the exact order; lose

Note — in situation when no participants matched 3 numbers in order, 20% reserved for the winners will be burned.

Beginning of each NIUPOT, we will add 500 NIU to the pool on top of the previous un-won pool.

NIUPOT Schedule:

We will schedule 6 NIUPOT lottery per day, 4 hours apart each one. Below is the time table;

0AM-4AM

4AM-8AM

8AM-12AM

12AM-4PM

4PM-8PM

8PM-12PM

For example

0AM- 500NIU tokens(1/6 of the daily lottery fund ,3000NIU )are injected into this NIUPOT draw

Step 1 — Purchase Ticket (0AM to 3:50AM)

  • You have 3 hours and 50 minutes to purchase tickets.
  • The NIUPOT pool will accumulate at the top of the page with each ticket bought.
  • Users will get their ticket (consisting of 4 digits) for each 10 NIU paid.
  • Users may choose to buy a batch package of 20 tickets; each ticket consisting of different 4 digit numbers selected at random for 200NIU.

Step 2 — NIUPOT Draw! (4 AM)

  • All the Ticket Fees added into the NIUPOT
  • The 4 winning NIUPOT numbers are drawn at random and be seen on our webpage
  • Each participant’s winnings will be automatically calculated
  • Users will be able to see the NIUPOT results on the web page
  • All winners must Claim their own prize.

Step 3 — Celebrate and Share (4AM)

Congrats, you WON! Share with your friends and in our community.

The next NIUPOT starts immediately !

How are ticket numbers drawn?

NIUPOT uses the Chainlink VRF (Verfiable Random function) smart contract as a tamper-proof RNG built for any applications that rely on un-predicable outcomes. Therefore, is no chance that anyone is able to predict the 4 winning numbers ahead of the drawing phase.

GOOD LUCK!!!

***Our NIUPOT smart contract is being tested and audited by our developers and will be released SOON, once we are fully ready to launch!***

--

--

Niubiswap
Niubiswap

Written by Niubiswap

Niubiswap is a decentralized exchange (DEX) which runs on Binance Smart Chain

No responses yet