• Stars
    star
    141
  • Rank 251,778 (Top 6 %)
  • Language
    Solidity
  • License
    GNU Affero Genera...
  • Created almost 3 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

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

More Repositories

1

nova

Read and write to L1 with minimal latency and no trust tradeoffs.
TypeScript
202
star
2

rari-dApp

Rari Capital's Web3 Portal.
TypeScript
150
star
3

golf-course

A list of common Solidity optimization tips and myths.
118
star
4

fuse-liquidator-bot

Liquidates unhealthy Fuse pool loans.
JavaScript
105
star
5

duppgrade

Update or revert to a specific DappTools commit with ease.
Shell
37
star
6

rari-dApp-next

Rari Capital Dapp
TypeScript
26
star
7

fuse-contracts

Smart contracts for Fuse by Rari Capital.
Solidity
26
star
8

RariSDK

⚙️ An ethers interface for fuse and vaults.
TypeScript
25
star
9

rari-stable-pool-contracts

Smart contracts for the Rari Stable Pool.
HTML
24
star
10

optimistic-wrapped-withdraws

🎁 Wrap a L2 ERC20 withdrawal event as an ERC1155 subtoken on L1 🎁
TypeScript
17
star
11

fuse-prom-target

Serves data to Prometheus about Fuse
TypeScript
16
star
12

charity-vaults

Share interest from Vaults with charities, friends, and more.
Solidity
15
star
13

docs

Rari Capital Documentation
Vue
15
star
14

OVM-SafeERC20

OVM-safe version of OpenZepplin's SafeERC20.sol
Solidity
10
star
15

rari-governance-contracts

Smart contracts for the Rari Governance system.
Solidity
9
star
16

fuse-v2

Smart contracts for Fuse by Rari Capital.
Solidity
9
star
17

rari-tank-contracts

Smart Contracts for the Rari "Tanks" (Yield Farming With Borrowed Funds)
Solidity
7
star
18

semicen

Contracts for Rari's 'semicen' rebalancer system.
TypeScript
7
star
19

rari-components

A component library for Rari Capital's frontend properties
TypeScript
6
star
20

nova-interfaces

All the key Nova libraries and interfaces in one DappTools friendly repo!
Solidity
6
star
21

nova-invariants

Formal verification and fuzzing of Nova with DappTools.
Solidity
5
star
22

docs-info

Informational and education documentation for Rari Capital.
JavaScript
5
star
23

fuse-simulations

DappTools project for simulating Fuse parameter changes.
Solidity
5
star
24

charity-vaults-ui

User interface for charity vaults.
JavaScript
4
star
25

rari-yield-pool-contracts

Smart contracts for the Rari Yield Pool.
HTML
4
star
26

fuse-webhooks-bot

Serves data to Discord about Fuse
TypeScript
3
star
27

audit

Rari Capital has gone through several audits with Quantstamp to review the following smart contracts: Rari Stable Pool, Rari Yield Pool, Rari Ethereum Pool, and Rari Governance.
3
star
28

rari-tokens-generator

A CLI to generate a JSON file with all the token data Rari uses.
JavaScript
3
star
29

rari-improvement-proposals

The Rari Improvement Proposal Repository
3
star
30

fuse-v1

Smart contracts for Fuse V1 by Rari Capital.
Solidity
3
star
31

rari-ethereum-pool-contracts

Smart contracts for the Rari Ethereum Pool.
HTML
3
star
32

convex-ui

Leverage off your Curve LPs while keeping Convex Rewards (frontend for Fuse pool 156)
TypeScript
2
star
33

fuse-twap-bot

Computes TWAPs for Uniswap V2 pairs and posts to Fuse price oracles.
JavaScript
2
star
34

fuse-margin-interface

InstaLev Next.js Interface (https://github.com/Rari-Capital/fuse-margin)
TypeScript
2
star
35

rari-pool-together-contracts

PoolTogether Yield Interface for the Rari Capital ETH Pool
Solidity
1
star
36

rari-api

JSON-based HTTP API for Rari Capital.
JavaScript
1
star
37

fuse-margin

InstaLev: Margin trade on Fuse. Open leveraged longs/shorts on any asset.
TypeScript
1
star
38

fuse-sdk

JavaScript SDK for easy implementation of Fuse by Rari Capital.
JavaScript
1
star