Skip to content

VolumeFi/exchange-liquidity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEX and AMM Add/Remove Contracts

Liquidity Exchange and Add to any listed Pool with XXX/ETH from any ERC20 token and develped in Vyper.

Current Contracts deployed at:

  1. Uniswapv3 Liquidity:
  1. Uniswapv2 Liquidity:
  1. Curve Liquidity Add via Uniswap
  1. Sushiswap Liquidity Add via Sushiswap
  1. Balancer Liquidity Add via Balancer

Infura Key

export WEB3_INFURA_PROJECT_ID=${YOUR_INFURA_KEY}

Add account

brownie accounts new deployer_account

input private key and password

Test

Run ganache-cli mainnet fork

ganache-cli --fork https://mainnet.infura.io/v3/#{YOUR_INFURA_KEY} -p 7545 -e 10000

Run brownie test

brownie test tests/test_00_main_uniswap.py -s
brownie test tests/test_01_main_sushiswap.py -s
brownie test tests/test_02_main_curve.py -s
brownie test tests/test_03_main_balancer.py -s
brownie test tests/test_04_main_uniswap_v3.py -s

Deployment

brownie run deploy_uni_add.py --network mainnet # UniswapExchangeAdd
brownie run deploy_uni_remove.py --network mainnet # UniswapExchangeRemove
brownie run deploy_sushi_add.py --network mainnet # SushiSwapExchangeAdd
brownie run deploy_sushi_remove.py --network mainnet # SushiSwapExchangeRemove
brownie run deploy_curve_add.py --network mainnet # CurveExchangeAdd
brownie run deploy_curve_remove.py --network mainnet # CurveExchangeRemove
brownie run deploy_balancer_add.py --network mainnet # BalancerExchangeAdd
brownie run deploy_balancer_remove.py --network mainnet # BalancerExchangeRemove
brownie run deploy_univ3_add.py --network mainnet # UniswapV3ExchangeAdd
brownie run deploy_univ3_remove.py --network mainnet # UniswapV3ExchangeRemove

Fees

This contract charges a flat, developer maintenance, transaction fee of 0.005ETH for any transaction greater than $5,000 USDC in value to help maintain and provide support for the contract and further improvements.

About

Liquidity Exchange and Add to Pool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages