Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.17 KB

README.md

File metadata and controls

26 lines (17 loc) · 1.17 KB

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