πΉOracle
Oracle Application and Protection
Protection for Uniswap V2 and Its Forks
Additional Price Storage
struct V2PriceOracle {
uint32 blockTimestampLast; // BlockTime of last update
uint price0; // TWAP for token0
uint price1; // TWAP for token1
uint price0CumulativeLast; // Cumulative TWAP for token0
uint price1CumulativeLast; // Cumulative TWAP for token1
}Price Verification Measures
Oracle Update Mechanism
Protection for Uniswap V3
Last updated