Skip to content

Latest commit

 

History

History
20 lines (11 loc) · 312 Bytes

File metadata and controls

20 lines (11 loc) · 312 Bytes

Proof of concept for Venus TWAP vulnerability

Details

This is a fork of https://github.com/VenusProtocol/oracle with additioanal tests to show TWAP window vulnerability.

Installing


yarn install

Run vulnerability proof of concept

$ npx hardhat test test/PivotTwapOracleBug.ts