1.4.0 • Published 1 year ago

@pooltogether/v4-periphery v1.4.0

Weekly downloads
-
License
GPL-3.0
Repository
-
Last release
1 year ago

PoolTogether V4 Periphery Contracts

Fork Tests Coverage Status built-with openzeppelin GPLv3 license

Have questions or want the latest news? Join the PoolTogether Discord or follow us on Twitter:

Discord Twitter

Documentation https://v4.docs.pooltogether.com

Deployments

Overview

Getting Started

The project is made available as a NPM package.

$ yarn add @pooltogether/v4-periphery

The repo can be cloned from Github for contributions.

$ git clone https://github.com/pooltogether/v4-periphery
$ yarn

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

cp .envrc.example .envrc

Testing

We use Hardhat and hardhat-deploy

To run unit tests:

$ yarn test

To run coverage:

$ yarn coverage

Forking

Mainnet fork tests have been implemented to test the functionalities of the TWAB Rewards contract.

To start the mainnet fork RPC server, run:

$ yarn start-fork

To run the mainnet fork tests for the TWAB Rewards contract, run:

$ yarn twab-rewards-fork

If you wish to run both at the same time, run:

$ yarn run-twab-rewards-fork

This command is used in the Github Actions workflow located in .github/workflows/fork.yml.

Deployment

Testnets

Deployment is maintained in a different repo.

Mainnet

Deployment is maintained in a different repo.

1.4.0

1 year ago

1.3.0

1 year ago

1.4.0-beta.2

1 year ago

1.4.0-beta.1

1 year ago

1.3.0-beta.1

2 years ago

1.2.6

2 years ago

1.2.6-beta.1

2 years ago

1.2.5

2 years ago

1.2.4

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.0

2 years ago

1.1.0-beta.1

2 years ago

1.0.0-beta.9

2 years ago

1.0.0

3 years ago

1.0.0-beta.8

3 years ago

1.0.0-beta.7

3 years ago

1.0.0-beta.6

3 years ago

1.0.0-beta.5

3 years ago

1.0.0-beta.4

3 years ago

1.0.0-beta.3

3 years ago

1.0.0-beta.2

3 years ago

1.0.0-beta.1

3 years ago