Smart contract which allows add liquidity and deposit into gauge in one transaction.
- Ethereum: 0x56C526b0159a258887e0d79ec3a80dfb940d0cD7
- Optimism: 0x37c5ab57AF7100Bdc9B668d766e193CCbF6614FD
- Gnosis (xDai): 0x37c5ab57AF7100Bdc9B668d766e193CCbF6614FD
- Polygon: 0x37c5ab57AF7100Bdc9B668d766e193CCbF6614FD
- Fantom: 0x37c5ab57AF7100Bdc9B668d766e193CCbF6614FD
- Kava: 0x37c5ab57AF7100Bdc9B668d766e193CCbF6614FD
- Arbitrum: 0x37c5ab57AF7100Bdc9B668d766e193CCbF6614FD
- Avalanche: 0x37c5ab57AF7100Bdc9B668d766e193CCbF6614FD
- Base: 0x69522fb5337663d3B4dFB0030b881c1A750Adb4f
- BSC: 0x4f37A9d177470499A2dD084621020b023fcffc1F
- Fraxtal: 0xF0d4c12A5768D806021F80a262B4d39d26C58b8D
- X Layer: 0x5552b631e2ad801faa129aacf4b701071cc9d1f7
- Mantle: 0xF0d4c12A5768D806021F80a262B4d39d26C58b8D
- ZkSync: 0x253548e98C769aD2850da8DB3E4c2b2cE46E3839
- python3 version 3.6 or greater, python3-dev
- vyper version 0.3.0
- brownie - tested with version 1.17.0
- brownie-token-tester - tested with version 0.3.2
- ganache-cli - tested with version 6.12.2
To get started, first create and initialize a Python virtual environment. Next, clone the repo and install the developer dependencies:
git clone https://github.com/curvefi/deposit-and-stake-zap.git
cd deposit-and-stake-zap
pip install -r requirements.txt
To run the entire suite:
brownie test --network mainnet-fork
To run for particular pools:
brownie test --pools 3pool,compound,aave,musd,tusd,tricrypto2,cvxeth,veth,usdv,paypool,mkusd --network mainnet-hardhat-fork
To run only for underlying/wrapped coins:
brownie test --coins underlying --network mainnet-fork
or
brownie test --coins wrapped --network mainnet-fork
brownie run deploy --network <id>
This project is licensed under the MIT license.