DropShop - Drops Democratized
  • Welcome
  • Background - Limited Release Product Drops
    • History
    • The Problem
    • Solution Attributes
  • DropShop Lottery
    • Overview
    • Users
      • Sponsors
      • Participants
    • Lottery Process
      • Lottery Creation
      • Tickets, the Pool, and the Ticket Weight Factor
      • The Purse, Sponsor Take and Residual
      • Lottery Outcomes
  • Platform Information
    • Platform Economics
    • Additional and Future Features
      • Secondary Marketplace
      • Generalized User-to-User Transactions
      • dApp to DAO
    • Logic
      • Distribution Score Function
      • Ticket Weight Factor Function
      • Selection Function
    • Team
  • Also...
    • Glossary
    • References
    • Acknowledgements
    • Github
    • Whitepaper
    • Images
Powered by GitBook
On this page
  1. Platform Information
  2. Logic

Distribution Score Function

PreviousLogicNextTicket Weight Factor Function

Last updated 3 years ago

Transparency around the distribution of Sponsor Tokens is critical for DropShop users. Tokens highly concentrated in a few participants may signal to other Participants that the Sponsor is colluding with certain individuals, especially for a lottery which weights tokens heavily. Then again, it could also mean they are highly rewarding just a few folks whom have truly created a lot value for the brand. Either way, it gives the Participant a better understanding of the potential weights of theirs vs. other tickets.

There are many indices and coefficients to measure the distribution of numeric values. DropShop utilizes the simple and well-known Gini coefficient. It is often mentioned in world economic news articles and used in the context of how well a nation's wealth is distributed among its population.

The Gini coefficient is defined using the auxiliary curve, called Lorenz curve. In the context of Brand Tokens, the Lorenz curve is defined the following function:

for x in [0,1],

f(x)=∑R(p)≤xBT(p)∑pBT(p)f(x) = \frac{ \sum_{\mathrm{R} (p) \leq x} \mathrm{BT} (p) }{\sum_{p} \mathrm{BT} (p)}f(x)=∑p​BT(p)∑R(p)≤x​BT(p)​

where the function BT maps each token holder p to his/her token amount and R to his/her rank ratio from the bottom among all the token holders. Thus the function maps for each x between 0 and 1 the proportion of the token holders who belong to the bottom x of token holders in token amount.

Then, the Gini coefficient is defined:

Gini coefficient=1−2×Area under the Lorenz curve\textrm{Gini coefficient} = 1 - 2 \times \textrm{Area under the Lorenz curve}Gini coefficient=1−2×Area under the Lorenz curve

The Gini Coefficient can be also defined graphically. In the figure below, there are two curves, a linear curve and a Lorenz curve.

A linear curve represents the population where the wealth or token is distributed equally. And a Lorenz curve is the curve defined by the function f(x) above.

Then the Gini coefficient is defined to be:

AA+B\frac{A}{A+B}A+BA​

A population of perfect (equal) distribution has a Gini coefficient of '0' because the area of A is equal to 0. However, a population with one person having the entire distribution has a Gini coefficient of '1' because the area under the Lorenz curve is equal to 0.

Linear vs. Lorentz Curve