Dr. Mia von Steinkirch 363475da3e
🍋 twamm designs
2022-10-16 17:13:31 -07:00
..
2022-10-16 17:13:31 -07:00

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