Git Product home page Git Product logo

idle-yield-source's Introduction

PoolTogether Brand


IdleYieldSource for PoolTogether Prize Pool

Tests Coverage Status built-with openzeppelin

PoolTogether Yield Source that uses Idle to generate yield by lending ERC20 token supported by Idle and deposited into the Idle Yield Source.

Setup

1). We use direnv to manage environment variables. You'll likely need to install it.

Copy .envrc.example and write down the env variables needed to run this project.

cp .envrc.example .envrc

Once your env variables are setup, load them with:

direnv allow

2). Install Dependency by running:

yarn

3). To compile Smart contract code:

yarn compile

3). To run unit tests:

yarn test

4). Check test coverage

yarn coverage

5). Test script for prizepool For Mainnet fork

yarn fork

6). Deploy New Idle Yield Source through Pooltogether-proxy-contract on kovan or mainnet

yarn deploy-kovan
or
yarn deploy-mainnet

Output For Kovan:-

PoolTogether Idle Yield Source - Deploy Script
network: Kovan (remote)
deployer: 0x2031d045f56e679925bFdCDa3416448Cc9B1b688
Deploying IdleYieldSourceProxyFactory...
Deploying Proxy Yield Source...
Deployed Yield Source...
Initializing Yield Source
Initialized!!
Deployed New IdleYieldSource Address 0xecD4b75E7ccf571CF99B0F51955866657469bB49

idle-yield-source's People

Contributors

kamescg avatar pierrickgt avatar sunnyrk avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

isabella232

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.