Weighted Balancing manages how the weights of two tokens change over time during a Liquidity Bootstrapping Pool (LBP) event. This adjustment influences both the pricing and availability of the tokens, ensuring a stable and predictable price discovery process.
Within this Litepaper, when describing LBPs, "Traded Token" (TokenTradedā) refers to the token actively being exchanged or swapped within a transaction, while "Anchor Token" (TokenAnchorā) refers to the token used as a stable measure or benchmark for determining the price of the traded token, such as a Toncoin (TON), a stablecoin, or a similarly stable asset.
2.1. Mathematical Foundations
At the start of the LBP, TokenTradedā and TokenAnchorā are assigned initial weights. Typically, TokenTradedā might start with a high weight, while TokenAnchorā starts with a low weight.
The weights of these tokens adjust linearly over the duration of the LBP. The formula for the current weight at any given time is calculated as follows:
WeightTradedCurrentā: Current weight of TokenTradedā
WeightAnchorCurrentā : Current weight of TokenAnchorā
WeightTradedStartā : Initial weight of TokenTradedā
WeightAnchorStartā : Initial weight of TokenAnchorā
WeightTradedEndā : Final weight of TokenTradedā
WeightAnchorEndā : Final weight of TokenAnchorā
ElapsedTime : Time elapsed since the start of the LBP
TotalDuration : Total duration of the LBP event
2.2. Impact on Token Pricing
As WeightTradedCurrentā decreases and WeightAnchorCurrentā increases, TokenTradedā becomes cheaper in terms of TokenAnchorā. This mechanism ensures that the price of TokenTradedā drops gradually, preventing early price spikes and allowing for a more stable price discovery process.
This weighted balancing mechanism is particularly important in preventing manipulative practices where early participants could drive up the price disproportionately. By gradually adjusting the weights, the LBP ensures that the price decreases in a controlled manner, fostering fairer market conditions.