Socket
Socket
Sign inDemoInstall

@pooltogether/aave-v3-yield-source

Package Overview
Dependencies
54
Maintainers
4
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @pooltogether/aave-v3-yield-source

PoolTogether Aave V3 Yield Source


Version published
Maintainers
4
Created

Readme

Source

PoolTogether Brand


PoolTogether Aave V3 Yield Source 👻

Fork Tests Coverage Status built-with openzeppelin GPLv3 license

PoolTogether Yield Source that uses Aave V3 to generate yield by lending any ERC20 token deposited into the Yield Source to Aave.

Development

Clone this repository and enter the directory:

cd aave-v3-yield-source

Installation

Install dependencies:

yarn

Env

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

Compile

Run the following command to compile the contract:

yarn compile

Test

We use the Hardhat ecosystem to test our contracts.

To run unit tests:

yarn test

To run coverage:

yarn coverage

Polygon fork

Before deploying, you can make sure your implementation works by deploying a Yield Source Prize Pool on a fork of Polygon.

To do so, run the following command:

yarn run-yield-source-fork

Code quality

Prettier is used to format TypeScript and Solidity code. Use it by running:

yarn format

Solhint is used to lint Solidity files. Run it with:

yarn hint

TypeChain is used to generates types for scripts and tests. Generate types by running:

yarn typechain

FAQs

Last updated on 06 Jul 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc