Skip to content

curvefi/deposit-and-stake-zap

Repository files navigation

Deposit&Stake Zap

Smart contract which allows add liquidity and deposit into gauge in one transaction.

Testing and Development

Dependencies

Setup

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

Running the Tests

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

Deploy

brownie run deploy --network <id>

License

This project is licensed under the MIT license.