The Weighted Constant Product model uses a parameter $\alpha$ to define the weight of token $x$ in a liquidity pool. When $\alpha = 1/2$, it behaves as a standard constant product market maker. The model uses several mathematical relationships to determine token balances, the pool invariant $k$, and the marginal price $p$.
### Parameter Definitions
- $x, y$: Token balances in native units
- $\alpha$: Weight of the $x$ token
- $\lambda$: Weight ratio, where $\lambda = \alpha / (1 - \alpha)$
- $k$: The pool invariant