virtualenv venv
source venv/bin/activate
pip install web3
Below is my code review of the yAxis Metavault V1 and associated contracts. This is not an audit nor an endorsement of the yAxis project. Overall I'm extremely impressed with the quality of the code.
Reviews like this can easily tilt towards a negative tone. So to start, I'd like to point out the positive aspects of the project.
- Significant portions of the code is borrowed from yearn.finance, including the concept of controllers and strategies. This is good because these patterns and code already have millions of value locked in them.
- Code is easy to read and follow, which makes it easy to review.
Use the documented contract addresses from the metavault repo.
Each token has a faucet
function which can be called by anyone in order to obtain funds (there's no need to ask for tokens).
For example, DAI:
- Navigate to the Write Contract page of the token on Etherscan
- Connect your web3-enabled wallet to the site
- Expand the
faucet
function