Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: latest vault earn indexer #1364

Open
4 tasks
btcookies opened this issue Jul 25, 2022 · 0 comments
Open
4 tasks

feat: latest vault earn indexer #1364

btcookies opened this issue Jul 25, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@btcookies
Copy link
Contributor

btcookies commented Jul 25, 2022

Background

Similar to the claimable balances indexer, have a lambda that runs every hour (up for discussion) and pulls latest earns using etherscan api. Similar code is written in python to pull latest harvests from vaults here that can be adapted to ethers and used in program.

One consideration will be structure for storing multiple chain's vaults. One table should be ok, maybe column for chain?

Requirements

  • Latest earn timestamps are stored in dynamodb for every production vault in registry
  • Earn indexer lambda running on cron

Tasks

  • Cron lambda indexing latest vault earns from keeper acl
  • serverless infra set up for new dynamo table and schema
@btcookies btcookies added the enhancement New feature or request label Jul 25, 2022
@okjintao okjintao removed their assignment Aug 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants