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].
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
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