1.1.0-beta.3 • Published 2 years ago

@jgensler8_2/v2-periphery-util v1.1.0-beta.3

Weekly downloads
-
License
GPL-3.0-or-later
Repository
github
Last release
2 years ago

Uniswap V2

Actions Status npm


⚠️⚠️⚠️ Differences from @uniswap/v2-periphery ⚠️⚠️⚠️

  • drilled byte32 into constructor and various functions instead of hardcoded string (see this SO comment)
  • contracts compile but tests are not working
  • Note: alternative is to not recompile any Uniswap v2 contracts and rely on bytecode inside the npm package's build/ directory. Bytecode is stored directly in the various ABI JSON files. See this project for more details

⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️⚠️


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