Skip to content

Compare

Four documents, the same five questions.

No throughput league table and no yield. The cells are what this library is willing to say about the text.

QuestionStableSwap — efficient mechanism for Stablecoin liquidity
What the text proposesEgorov's 2019 invariant for pools of assets that should trade near parity. The curve is flat around the peg, where most stablecoin trades happen, and bends toward a constant-product tail when the pool is pushed off parity.
Who may writeMichael Egorov
What is settledAn amplification parameter blends a constant-sum region with a constant-product tail.
Load-bearing assumptionThe math assumes the assets ought to be near parity. If that assumption is false, the flat region is a source of loss, not efficiency.
What this library says afterwardsAmplification is a risk setting. Higher is not 'better'.
RightsOfficial external source only