vaults
Gas efficient yield aggregator to earn yield on any asset using Fuse.
Installation
Toolset
curl -L https://nixos.org/nix/install | sh
. "$HOME/.nix-profile/etc/profile.d/nix.sh"
curl https://dapp.tools/install | sh
Project Setup
- First, clone the repo locally:
git clone https://github.com/rari-capital/vaults
cd vaults
- Then, install the project's dependencies:
make
Developing
Below is a brief summary of a few common commands you may need to contribute to this project. If you are not already comfortable with the dapptools suite, read the dapptools docs to learn more.
Compiling
dapp build
Compiles the project.
Testing
dapp test
Test the project and only log verbose info for failed tests.
Verbose Testing
dapp test --verbosity 2
Test the project and show ds-test logs for everything.
Very Verbose Testing
dapp test --verbosity 3
Test the project and log full verbose info for everything.
Debugging
dapp debug
Run a test using the HEVM interactive debugger.
Replaying
dapp debug --replay '("test_exchange_rate_increases(uint256)","0x0000000000000000000000000000000000000000000000000000000000000001")'
Replay a specific testcase in the debugger.