1.0.1 • Published 3 years ago

uniswapv3-oracle v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
3 years ago

UniswapV3Oracle

This package contains a beta version of an oracle which uses UniswapV3Oracle to get pricing data. This is experimental code. The original uniswap V3 code is not compatible with solidity v0.8 & above. This project contains files from Uniswap V3 which were modified to work with solidity v 0.8.0. You can see the differences for each file at the following links.

OracleLibrary: here
Pool Address: here
Tick Math: here
IUniswapV3Pool: here
LowGasSafeMath: here
FullMath: here

IUniswapV3PoolActions: here
IUniswapV3PoolDerivedState: here
IUniswapV3PoolEvents: here
IUniswapV3PoolImmutables: here
IUniswapV3PoolOwnerActions: here
IUniswapV3PoolState.sol: here

A test file has been provided demonstrating the usage of the library.