Code Monkey home page Code Monkey logo

gimbal's Introduction

Savor Cross Chain Yield Aggregator

This repo includes the contracts for the Savor Cross chain yield aggregaor being submitted for the Chainklink spring 22 hackathon.

Savor strives to be the first cross chain yield aggregator. With one deposit on any of the supported chain users are automatically earning the highest yields available across all supported chains.

Setup

This repository is built using hardhat.

To Setup: 1. Clone Repo on to your local device 2. run "npm install" to install dependencies 3. Create an .env file and copy .en.example in filling in the info for each variable 4. Run "npx hardhat compile"

Architecture

The master vault (SavorVault.sol) uses the ERC4626 token standard and is an adaptation of the Rari Capital vaults that can be found here. https://github.com/Rari-Capital/vaults.

The Bridgerton.sol contract utilizies the Stargate router to send funds between multiple chains.

The Strategies for each vault (StratExample.sol) are adapted from Yearn.Finance strategies used for their vaults.

alt text

Tests

Deploy

Cobntributing

To submit contributions create a fork on your own Github with all changes proposed and submit a Pull Request on to the main branch

Pull Requests will be reviewed by team members and merged if approved

Make sure to 'Git Pull origin main' before working on any updates to make sure your branch is up to date

Hardhat

Try running some of the following tasks:

npx hardhat accounts
npx hardhat compile
npx hardhat clean
npx hardhat test
npx hardhat node
node scripts/sample-script.js
npx hardhat help

For more information on Hardhat https://hardhat.org/getting-started/

gimbal's People

Contributors

n0tspam avatar schlagonia avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.