Skip to content

zomglings/uniswap-v2-core

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Uniswap V2 - modernized

This repository is a fork of Uniswap V2 which is compilable versions of solc more recent than 0.5.16.

In updating the code, there may be some warts introduced - for example cases where Uniswap relied on overflow as a feature which now cause reversions during execution.

If you run into something like this, please create an issue or a pull request, and I will try to address it quickly.

Uniswap V2 docs


Original documentation

Actions Status Version

In-depth documentation on Uniswap V2 is available at uniswap.org.

The built contract artifacts can be browsed via unpkg.com.

Local Development

The following assumes the use of node@>=10.

Install Dependencies

yarn

Compile Contracts

yarn compile

Run Tests

yarn test

About

🦄 🦄 Core smart contracts of Uniswap V2

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 53.1%
  • Solidity 46.9%