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

yETH exporter, APY calc and new dash #637

Merged
merged 41 commits into from
Oct 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
0fe6fd4
wip: first apy calc version for yeth
crebsy Oct 2, 2023
486c741
fix: EOW is on a Wednesday 23:59:59
crebsy Oct 2, 2023
44a78ca
feat: adding YETHLST helper class.
crebsy Oct 5, 2023
588017e
feat: add net_apy, gross_apr and type labels
crebsy Oct 5, 2023
751524d
fix: use supply and price more consistently.
crebsy Oct 9, 2023
32984ee
feat: move yeth code into separate file
crebsy Oct 9, 2023
2c41a77
feat: added boost
crebsy Oct 9, 2023
11579f3
fix: typos
crebsy Oct 9, 2023
96fed22
fix: use yETH as the type for the apy subhash
crebsy Oct 9, 2023
0ef2dc3
chore: dry some code
crebsy Oct 9, 2023
56397ab
feat: get APY for a given block
crebsy Oct 9, 2023
60f9aa4
feat: added historical exporter code for yETH and created first dashb…
crebsy Oct 9, 2023
ba58db2
fix: dashboard queries and labels
crebsy Oct 10, 2023
0be793d
fix: reverse boost
crebsy Oct 10, 2023
6b2c585
feat: adding daily swap volumes
crebsy Oct 11, 2023
038e7ab
feat: add day_ago sample point.
crebsy Oct 11, 2023
e735172
feat: yeth is a new metric
crebsy Oct 11, 2023
44d8b47
feat: add daily swaps via events
crebsy Oct 11, 2023
7f6b371
feat: move yeth into separate exporter
crebsy Oct 12, 2023
111849e
fix: add yeth recipe
crebsy Oct 12, 2023
1536294
chore: cleanup
crebsy Oct 13, 2023
2e79b37
fix: create a nested APY object for yeth
crebsy Oct 13, 2023
a823d9b
fix: load constants only for Mainnet
crebsy Oct 13, 2023
a4e1005
fix: revert changes to s3 script
crebsy Oct 13, 2023
d8373f7
fix: typo in ENV
crebsy Oct 13, 2023
1829649
feat: add recipe for new yeth apy script
crebsy Oct 13, 2023
7204294
feat: allow to pass in a custom resolution per exporter script
crebsy Oct 13, 2023
928887f
fix: missing params and imports
crebsy Oct 13, 2023
67237f1
feat: adding separate yeth APY script
crebsy Oct 13, 2023
974cc49
fix: replace env
crebsy Oct 13, 2023
ab9ce73
fix: filepaths
crebsy Oct 13, 2023
23bf822
fix: whitespace
crebsy Oct 13, 2023
de2feb3
fix: disable grafana error popup for annotations
crebsy Oct 13, 2023
f6befb2
feat: showing virtual_balances and tvl denominated in ETH instead of …
crebsy Oct 16, 2023
a4b497c
feat: added dropdown for LST selection and some formatting
crebsy Oct 16, 2023
6f675e1
feat: move LST data into separate dash
crebsy Oct 16, 2023
439c94e
Update yETH.json
0xBasically Oct 16, 2023
9b71046
fix: sanitize name for grafana dashboards
crebsy Oct 16, 2023
110d0b0
update: yeth lst
0xBasically Oct 16, 2023
23e89ff
fix: yeth dashboard
0xBasically Oct 16, 2023
cc762e8
fix: yeth dashboard2
0xBasically Oct 16, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ up:
if [ "$(commands)" == "exporters/veyfi" ] || [ "$(commands)" == $(exporter_scripts) ] || [ "$(commands)" == "" ]; then
make single-network network=ethereum commands="exporters/veyfi"
fi
if [ "$(commands)" == "exporters/yeth" ] || [ "$(commands)" == $(exporter_scripts) ] || [ "$(commands)" == "" ]; then
make single-network network=ethereum commands="exporters/yeth"
fi
fi

# cleanup containers which are temporarily unused or too buggy, ugly workaround until there is a better way to control this:
Expand Down Expand Up @@ -267,6 +270,12 @@ curve-apy-previews:
curve-apy-previews-monitoring:
make up commands="curve_apy_previews with_monitoring" network=eth

apy-yeth-monitoring:
make up commands="yeth with_monitoring" network=eth

apy-yeth:
make up commands="yeth" network=eth filter=yeth

# revenue scripts
revenues:
make up network=eth commands=revenues with_logs=false
Expand All @@ -291,6 +300,10 @@ partners-summary-ftm:
veyfi:
make up network=ethereum commands="exporters/veyfi" logs

# yeth
yeth:
make up network=ethereum commands="exporters/yeth" logs

# utils
fetch-memray:
mkdir reports/memray -p
Expand Down
2 changes: 1 addition & 1 deletion grafana/provisioning/dashboards/yearn/Overview.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"type": "datasource",
"uid": "grafana"
},
"enable": true,
"enable": false,
"hide": true,
"iconColor": "rgba(0, 211, 255, 1)",
"name": "Annotations & Alerts",
Expand Down
Loading
Loading