Skip to content

Flexible, minimalist, and gas-optimized yield aggregator protocol for earning interest on any ERC20 token.

License

Notifications You must be signed in to change notification settings

alchemex-labs/vaults

 
 

Repository files navigation

Vaults • Tests License

Flexible, minimalist, and gas-optimized yield aggregator protocol for earning interest on any ERC20 token.

Architecture

  • Vault.sol: Flexible, minimalist, and gas-optimized yield aggregator for earning interest on any ERC20 token.
  • VaultFactory.sol: Factory which enables deploying a Vault contract for any ERC20 token.
  • modules/: Contracts used for managing and/or simplifying interaction with Vaults and the Vault Factory.
  • interfaces/: Interfaces of external contracts Vaults and modules interact with.
    • Strategy.sol: Minimal interfaces for ERC20 and ETH compatible strategies.

Diagram

Contributing

You will need a copy of DappTools installed before proceeding. See the installation guide for details.

Setup

git clone https://github.com/Rari-Capital/vaults.git
cd vaults
make

Run Tests

dapp test

Measure Coverage

dapp test --coverage

Update Gas Snapshots

dapp snapshot

About

Flexible, minimalist, and gas-optimized yield aggregator protocol for earning interest on any ERC20 token.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Solidity 96.5%
  • Julia 2.2%
  • Other 1.3%