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

Eigenlayer TVR DBT Transformations #862

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

ben-stamm
Copy link
Contributor

📌 References

🎄 Asset Checklist

  • Added to databases.csv or already exists

🧮 Metric Checklist

  • Added new fact tables if necessary
  • Pulled fact table into ez_asset_metrics.sql table
  • Compiles in Github
  • Show Changed Models in Github matches expectations for what metric value should be

Eigenlayer TVR Methodology: Total Value Restaked is calculated as the sum of TVR in Native ETH and TVR in Restaked ERC20 Tokens

  • TVR in Native ETH is calculated from the balances of active ethereum validators who point their "withdrawal credentials" to the Eigenlayer Protocol
  • TVR in Restaked ERC20 Tokens is calculated from the balances of ERC20 Tokens held in the Eigenlayer Strategy Contracts

Limitations/Call-Outs:

  • TVR of Restaked ERC20 Tokens will only be included if the specific ERC20 token is currently priced in the ETHEREUM_FLIPSIDE.PRICE data table
  • Daily balance snapshots are taken on the last entry into balances table of the given Eigenlayer strategy contract each day. Prices are taken on the hour of this entry into balances
  • Restaked $EIGEN tokens are in the ez_metrics_by_token table as $bEIGEN, as specified by Eigenlayer contract

@ben-stamm ben-stamm requested a review from a team as a code owner February 27, 2025 17:09
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