/curve-zaps

Useful zaps for curve pools

Primary LanguagePython

Curve Zaps

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/curve-zaps.git
cd curve-zaps
pip install -r requirements.txt

Running the Tests

To run the entire suite:

brownie test --network <network_name>-fork

# network_name: mainnet (ethereum), optimism, xdai, polygon, fantom, arbitrum, avalanche

To run for particular pools:

brownie test --pools 3pool,compound,aave --network mainnet-fork

The list of available pools:

mainnet (ethereum)

PLAIN: 3pool,hbtc,link,sbtc2,seth,steth,susd,eurs,eurt,fraxusdc + aeth,reth (they use rate)
LENDING: aave,saave,ib,usdt,compound,y,busd,pax
META: gusd,husd,usdk,musd,rsv,dusd,usdp + rai (uses rate)
FACTORY PLAIN: factory-v2-283,factory-v2-66,factory-v2-235
FACTORY META: tusd + factory-v2-9,factory-v2-144,factory-v2-247

optimism

PLAIN: 3pool + wsteth (uses rate)

xdai

PLAIN: 3pool
META: rai (uses rate)

polygon

LENDING: aave
FACTORY META: factory-v2-107,factory-v2-339

fantom

PLAIN: 2pool
META: fusdt
LENDING: ib,geist

arbitrum

PLAIN: 2pool + wsteth (uses rate)

avalanche

LENDING: aave,aaveV3
FACTORY META: factory-v2-66

Deploy

brownie run deploy --network <id>

License

This project is licensed under the MIT license.