mediumLogic errorEVM-Solidity
Velocimeter: Incorrect calculation of TWAP in OptionTokenV4.getTimeWeightedAveragePrice() function.
- Payout
- $0
- Protocol
- Velocimeter
- Disclosed
- Jul 25, 2024
- Source
- sherlock
Velocimeter's OptionTokenV4.getTimeWeightedAveragePrice() computes the exercise price purely from historical price observations stored in the Pair contract and never incorporates the live price. Because Pair only records a new observation when more than the pe …
Similar reports
- No close matches yet.
References
This report is already public and closed. Coin Buggie never publishes active or unpatched vulnerability data.