---
# System prepended metadata

title: Distributing the 40 Heedongs

---

# Distributing the 40 Heedongs

This writeup documents the distribution of the 40 1/1 Heedongs. The objective of drop is to ensure that the process is random: every IVY PET holder should have an *equal* chance of getting the 1/1 Heedong. The process should also ensure that the BBRC team cannot in any way influence the result of the randomness. 

3 Heedongs would be dropped per day for 14 days, where on the last day we would drop the 1 remaining Heedong.

## Methodology

In order to ensure randomness, the process cannot be done on a known server as the random seed can easily be manipulated or undesired results can be re-rolled, affecting the integrity of the draw. In order to tackle this, the team decided to use a decentralised, on-chain approach, utilising oracle networks. 

We found a cost-effective and reasonable approach would be to use Chainlink's VRF to generate the random numbers that corresponds to the token ID's of the IVY PETS. The process would be as follows each day:

For each pet:
1. Call Chainlink's VRF to generate a random numbers.
2. For each random number, modulo (%) it with the total number of tokens in each IVY PET collection.
3. If the token ID's are already Heedongs, we will re-roll (i.e. jump back to step 1) and nullify the current results.

