@pooltogether/pooltogether-pods-upkeep

1.0.2 • Public • Published

pooltogether-pods-upkeep

Coverage Status

Tests

PoolTogether Operations contracts is PoolTogether's integration with ChainLinks Upkeep system for pods.

How it works

The goal of this system is to automate calling the batch function of the PoolTogether governance owned prize pool pods.

A registry of these prize pools exists (as an Ownable MappedSinglyLinkedList) and logic is run to see if the batch function requires running. This is determined by a time period (in blocks): upkeepBlockInterval

The upkeepers performing the upkeep are compensated in LINK so the PrizeStrategyUpkeep contact needs to maintain a healthy balance of LINK.

Installation

Install the repo and dependencies by running: yarn

Deployment

These contracts can be deployed to a network by running: yarn deploy <networkName>

Testing

Run the unit tests locally with: yarn test

Coverage

Generate the test coverage report with: yarn coverage

Readme

Keywords

none

Package Sidebar

Install

npm i @pooltogether/pooltogether-pods-upkeep

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

1.97 MB

Total Files

92

Last publish

Collaborators

  • asselstine