mirror of
https://github.com/autistic-symposium/mev-toolkit.git
synced 2025-05-02 14:56:18 -04:00
21 lines
739 B
Markdown
21 lines
739 B
Markdown
## twamm designs
|
|
|
|
<br>
|
|
|
|
### tl; dr
|
|
|
|
* a new type of automated market maker, or AMM, that helps traders on Ethereum efficiently execute large orders.
|
|
* 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).
|
|
|
|
|
|
|
|
<br>
|
|
|
|
---
|
|
|
|
### resources
|
|
|
|
* [twamm by paradigm](https://www.paradigm.xyz/2021/07/twamm)
|
|
* [twamm reference implementation in python](https://github.com/para-dave/twamm)
|
|
* [some properties of twamm](https://github.com/pcaversaccio/reentrancy-attacks)
|