From 363475da3e7a43ca967446c8104c26fdcd8c7f06 Mon Sep 17 00:00:00 2001 From: "Dr. Mia von Steinkirch" <1130416+F4DELEGATECALL@users.noreply.github.com> Date: Sun, 16 Oct 2022 17:13:31 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=8D=8B=20twamm=20designs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- twamm/README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 twamm/README.md diff --git a/twamm/README.md b/twamm/README.md new file mode 100644 index 0000000..0c7c2b0 --- /dev/null +++ b/twamm/README.md @@ -0,0 +1,16 @@ +## twamm designs + +
+ +### tl; dr + +* time weighted amm designs prevent sandwich attacks by executing transactions lazily. +* in twamm, orders are executed as if they were placed between blocks. this way, an attcker would need to straddle blocks in order to take advantage of the victim's slippage tolernace (which is riskier than simply including txs around the victim's). + + + +
+ +--- + +### resources