sattyu
@sattyu
Day 4 MEV log — Swap math AMM output uses constant product: x*y=k After 0.3% fee: out = (in * 997 * y) / (x*1000 + in*997) This is how price impact shows up in real swaps. Next: simulate it.
0 reply
0 recast
1 reaction