Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pooltogether/pods-v3-autotask
Autotask to batch deposit the current pods float amount into the prize pool
https://github.com/pooltogether/pods-v3-autotask
Last synced: about 2 months ago
JSON representation
Autotask to batch deposit the current pods float amount into the prize pool
- Host: GitHub
- URL: https://github.com/pooltogether/pods-v3-autotask
- Owner: pooltogether
- License: gpl-3.0
- Created: 2021-11-03T16:10:07.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-11-12T17:30:39.000Z (about 3 years ago)
- Last Synced: 2024-04-23T21:42:36.717Z (9 months ago)
- Language: TypeScript
- Homepage:
- Size: 42 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# pods-v3-autotask
OpenZeppelin Defender autotask to batch deposit the current pods float amount into the prize pool## Development
### Env
We use [direnv](https://direnv.net) 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
```### Autotask
Entrypoint for the autotask is located in `src/handler.ts`
#### Test
To test your autotask locally, run the command:
```
yarn start
```#### Update
Once your task is properly working, you can push it to defender by running:
```
yarn update
```### Code quality
[Prettier](https://prettier.io) is used to format TypeScript code. Use it by running:
```
yarn format
```