Pool Weights Explained
Example Token Breakdown:
Let’s imagine an example project called XYZ Token that is using our BSC Launchpad. To simplify the math, let’s say they are selling 1,000,000 tokens in the public pool. There are 100 Bronze Members, 25 Silver Members, 10 Gold Members and 5 Platinum Members.
Bronze Members have a weight of 10, Silvers have a weight of 30, Golds have a weight of 65, and Platinums have a weight of 145.
The combined weight of all the qualifying buyers in this example is (10010) + (2530) + (1065) + (5145) = 3,125 The amount of tokens allocated to each “share” is 1,000,000 / 3,125 = 320
The formula for the number of tokens allocated to a tier is given by, num_users_in_tier * share_amount * tier_pool_weight The amount of tokens for bronze is 100 * 320 * 10 = 320,000 The amount of tokens for silver is 25 * 320 * 30 = 240,000 The amount of tokens for gold is 10 * 320 * 65 = 208,000 The amount of tokens for platinum is 5 * 320 * 145 = 232,000
The formula for the amount of tokens a user in a tier can purchase is given by num_tokens_in_tier/num_users_in_tier The amount of tokens for each user in bronze is 320,000/100 = 3,200 The amount of tokens for each user in silver is 240,000/25 = 9,600 The amount of tokens for each user in gold is 208,000/10 = 20,800 The amount of tokens for each user in platinum is 232,000/5 = 46,400