Gas efficient yield aggregator to earn yield on any asset using Fuse.
- First, install Nix:
# User must be in sudoers
curl -L https://nixos.org/nix/install | sh
# Run this or login again to use Nix
. "$HOME/.nix-profile/etc/profile.d/nix.sh"
- Then, install DappTools:
curl https://dapp.tools/install | sh
- First, clone the repo locally:
git clone https://github.com/rari-capital/vaults
cd vaults
- Then, install the project's dependencies:
make
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.
dapp build
Compiles the project.
dapp test
Test the project and only log verbose info for failed tests.
dapp test --verbosity 2
Test the project and show ds-test logs for everything.
dapp test --verbosity 3
Test the project and log full verbose info for everything.
dapp debug
Run a test using the HEVM interactive debugger.
dapp debug --replay '("test_exchange_rate_increases(uint256)","0x0000000000000000000000000000000000000000000000000000000000000001")'
Replay a specific testcase in the debugger.