Skip to content

ArchLinuxStudio/uniswap-v3-twap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uniswap-v3-twap

A gas optimized version to get twap with uniswap oracle. If want to use a simple way, just call function OracleLibrary.consult.

npm i
npx hardhat compile

# Arbitrum layer2, change to your url if you want to use a different net
npx hardhat node --fork https://arb1.arbitrum.io/rpc

npx hardhat test --network localhost

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 59.0%
  • JavaScript 41.0%