Rename twamm/README.md to oracles/twamm.md

This commit is contained in:
mia von steinkirch, phd 2023-01-13 18:35:44 -08:00 committed by GitHub
parent 8a1b126dd1
commit 543614ce3c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

20
oracles/twamm.md Normal file
View file

@ -0,0 +1,20 @@
## 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)