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.

QuestionThe Time-Weighted Average Market Maker
What the text proposesExecute a large order as if it were split into infinitely many tiny trades across an interval, without paying gas for each piece. Settlement is lazy. This is an order schedule, not a price oracle, despite the nearby acronym TWAP.
Who may writeDave White and Dan Robinson
What is settledUsers submit long-term orders: sell this much of A for B between two times.
Load-bearing assumptionA TWAMM is not Uniswap's time-weighted average price oracle. One is an order. One is a measurement.
What this library says afterwardsLazy settlement means the on-chain reserves can be stale until someone transacts. Integrators who read reserves mid-interval have to understand that.
RightsOfficial external source only