Constant Product Formula

Formula

The core relationship dictates that the product of the quantities of two assets within a pool remains invariant, absent external trades or fee accrual. This mathematical constraint governs price discovery in constant product automated market makers. Maintaining this product stability is fundamental to the protocol’s operational integrity.