Skip to content

deathwing00000/UniswapAdapter

Repository files navigation

UniswapAdapter

adapter for uniswap contracts

Here is an adapter for UniswapV2Router02

Its implements functions:

  1. getPair

  2. createPair

  3. allPairsLength

  4. addLiquidity

  5. removeLiquidity

  6. swapExactTokensForTokens

  7. swapTokensForExactTokens

  8. getAmountsOut

  9. getAmountsIn

Also for testings was made wraped ethereum token (WETH) based on IERC20

Tests was done on fork of eth-mainnet, blockNumber: 12883802.

About

adapter for Uniswap contracts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published