Coder Social home page Coder Social logo

curve-zaps's Introduction

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 (use rate)
LENDING: aave,saave,ib,usdt,compound
META: gusd,usdk,musd,rsv,dusd,usdp + rai (use rate)
FACTORY PLAIN: factory-v2-283,factory-v2-66,factory-v2-235 + factory-v2-303 (pool_type 10)
FACTORY META: tusd + factory-v2-9,factory-v2-144,factory-v2-247

#---------------

CRYPTO PLAIN: tricrypto2,eursusd,crveth,cvxeth,spelleth,teth,factory-crypto-37,factory-crypto-204
CRYPTO META: eurtusd,euroc,factory-crypto-116,factory-crypto-136

optimism

PLAIN: 3pool + wsteth (uses rate)

xdai

PLAIN: 3pool
META: rai (uses rate)

#---------------

CRYPTO META: eureusd
TRICRYPTO META: tricrypto

polygon

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

#---------------

TRICRYPTO META: atricrypto3
TRICRYPTO DOUBLE META: crv-tricrypto, wmatic-tricrypto

fantom

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

#---------------

CRYPTO: tricrypto,factory-crypto-7

arbitrum

PLAIN: 2pool + wsteth (uses rate)

#---------------

CRYPTO PLAIN: tricrypto
CRYPTO META: eursusd

avalanche

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

#---------------

TRICYPTO META: atricrypto,avaxcrypto

Deploy

brownie run deploy --network <id>

License

This project is licensed under the MIT license.

curve-zaps's People

Contributors

amfet42 avatar macket avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

casey-barr twpony

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.