Skip to content

feat: improve fetch gauges script - #49

Open
airtoonricardo wants to merge 1 commit into
mainfrom
feat/improve-gauge-fetching
Open

feat: improve fetch gauges script#49
airtoonricardo wants to merge 1 commit into
mainfrom
feat/improve-gauge-fetching

Conversation

@airtoonricardo

@airtoonricardo airtoonricardo commented Mar 12, 2025

Copy link
Copy Markdown
Contributor

Opening this PR with a script I created during the release, to allow fetching all existing gauges from a list of PoolFactories with a smaller number of RPC calls.

I also deployed a helper contract for this purpose (i.e.: the GaugeSugar used in the script), but didn't push it to this repo to avoid extra maintenance, since the contract only needs to be deployed once for now.

At the moment this PR is just pending a clean up, since the script is already functional, so feel free to take over the PR to wrap it up. Some initial cleanups that come to mind would be to fix the CI, create an additional folder for the abis & to move the hardcoded constants to fetch gauges somewhere else (i.e.: to the env file), but feel free to address any other cleanups as you see fit.

cc: @imollov

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

Successfully merging this pull request may close these issues.

1 participant