PoolTogether V3 COMP Claim Autotask
This project implements an Autotask for OpenZeppelin Defender that claims the Compound COMP for the PoolTogether prize pools.
Usage
First build the project:
$ yarn build
This will create:
dist/rinkeby-build.js
dist/ropsten-build.js
Copy the contents of those files into their respectives Autotasks in OpenZeppelin Defender.
Running locally
You can use the CLI as well to test out the task:
$ yarn cli
There's a precooked command called rinkeby
that uses env vars.
First setup the vars:
$ cp .envrc.example .envrc
Now allow direnv
$ direnv allow
Set the vars to what you need, then run:
$ yarn claim [network]
Where [network] is rinkeby
or ropsten