mev-toolkit/oracles/twap.md
dr. mia von steinkirch, phd d35ae50263
Update twap.md
2023-02-07 14:21:21 -08:00

1.2 KiB
Raw Blame History

TWAP oracles

tl; dr


  • an assets time-weighted average price (TWAP) is the measure of an assets average price over a predetermined period of time (any specified duration).
  • TWAP trading algorithms seek to optimize average price while executing over a specified time period.
  • generally used to execute large orders that are expected to have significant market impact.


oracle attacks


* on pos ethereum, block builder building successive block might be able to manipulate oracles for multi-block MEV extraction. * with mev-boost, an attacker could observe the set of upcoming proposers. if they finds two successive proposers that have both been proposing blocks, then the attacker can anticipate the attack.

resources