📖TWAMM Protocol

Time-Weighted Average Market Maker (TWAMM) is a new on-chain automated market making model designed by Paradigm researchers Dave White, Dan Robinson, and Uniswap founder Hayden Adams. TWAMM allows market participants to efficiently execute large orders on multiple blocks of Ethereum and works by breaking longterm large orders down into an infinite number of infinitely small virtual orders, and executing transactions smoothly over time using an embedded AMM.

The detailed design principles of the TWAMM can be found at the Paradigm official website: https://www.paradigm.xyz/2021/07/twamm/, and the mathematical principles involved in TWAMM swap can be found in this article: https://hackmd.io/@luffy/SJxSsOH1Y.

Pulsar-TWAMM is the first implementation of TWAMM that effectively combines embedded AMM, LongTerm Orders, Order Pool and scalable reward distribution to enable not only Instant Swap like Uniawap, but also TWAMM Term Swap like algorithmic trading TWAP. Compared to AMM, TWAMM reduces the price slippage associated with large trades, thus reducing trader losses.

Overview: Basic Understand

✍️pageIntroduction🔄pageInstant Swap🔄pageTerm Swap🔁pageLiquidity Pool📣pageLongTerm Orders🌊pageOrder Pool👨‍💻pageTechnical Implementation📊pageNon-Limited LongTermOrder Book™️pageLongTerm Order Market Making📮pageSubmit LongTerm OrderspageCancel LongTorm Orders🍬pageWithdraw TermSwap Rewards

Terminology: In-Depth Knowledge

⏱️pageOrder ExpirypageMinimum Expiry Interval🏃‍♂️pageOrder Execution💵pageSwap Fee

Contracts

📓pageFixed Point MathpageAudit

Reference

👥pageCommunity🔢pageMathematical Principle of TWAMM🔢pageMathematical Principle of TWAMM Concentrated Liquidity⚙️pageAPI

Applications

🌧️pageDeFi Liquidation🔙pageBuybacks🚥pageLiquidity Bootstraping Order🏦pageFixed Investment Trading

Last updated