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

refactor: replace block numbers subgraph with a service #1232

Open
gmbronco opened this issue Dec 5, 2024 · 0 comments
Open

refactor: replace block numbers subgraph with a service #1232

gmbronco opened this issue Dec 5, 2024 · 0 comments

Comments

@gmbronco
Copy link
Collaborator

gmbronco commented Dec 5, 2024

removing dependency on SG.

needed methods:

// Datastudio, MasterChef
async getBlocksPerDay() {},
// Used by reliquary-snapshot.service.ts, upsertFarmSnapshots
async getBlockForTimestamp(timestamp: number) {},
// Used for getting missing snapshots for pools that aren't covered by subgraph, e.g. composable or nested
// Not needed, look into the snapshots service and remove the dependent parts as well.
// Returns block every 24h for a number of days
async getDailyBlocks() {},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant