Skip to content

Script to pull CRV Factory Pools historical APR off-chain

Notifications You must be signed in to change notification settings

crnch/crv-chocolate-chips

Repository files navigation

CRV Factory Pools Historical APR

This is a brownie script to pull historical data about CRV APR for CRV Factory Pools. I was inspired by the excellent brownie video tutorial series, in particular #19[Github|YT] and #30[Github|YT].

Installation

If you installed brownie via pipx, you can inject the additional dependencies via:

pipx runpip eth-brownie install -r requirements.txt

else, after setting up a dedicated venv and activating it, install the depencies as usual

pip install -r requirements.txt

Data collection

The script to collect the full APR history for a pool needs the poolname (case insensitive) - which is usually the concatenated names of the assets, sometimes with some dividing char between them.

brownie run get_historical_crv_apr main rethwsteth

About

Script to pull CRV Factory Pools historical APR off-chain

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published