gakonst / vaults

Gas efficient yield aggregator protocol built on Fuse.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vaults

Gas efficient yield aggregator to earn yield on any asset using Fuse.

Installation

Toolset

  • 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

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.

About

Gas efficient yield aggregator protocol built on Fuse.

License:GNU Affero General Public License v3.0


Languages

Language:Solidity 98.0%Language:Shell 0.9%Language:Nix 0.6%Language:Makefile 0.5%