This package contains the source code for Balancer V3 Weighted Pools, that is, Pools that swap tokens by enforcing a Constant Weighted Product invariant.
Another useful contract is WeightedMath
, which implements the low level calculations required for swaps, joins, exits and price calculations.