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

Add yield token support #156

Merged
merged 9 commits into from
Dec 16, 2024
Merged

Add yield token support #156

merged 9 commits into from
Dec 16, 2024

Conversation

Tburm
Copy link
Collaborator

@Tburm Tburm commented Dec 13, 2024

Support calculations of yield on tokens which have some "wrapped" yield, for example wstETH or stataUSDC.

Model changes:

  • Adds a yield_token_symbol to the token seed, to specify token mappings: ETH -> wstETH
  • Adds a fct_token_yields_base_mainnet table, to track the change in the exchange rate between the tokens
  • Adds apr_*_underlying values to the APR table

@Tburm Tburm requested a review from marcus-snx December 13, 2024 19:11
Copy link
Collaborator

@marcus-snx marcus-snx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Left just a small comment/question.

@Tburm Tburm merged commit 7867924 into main Dec 16, 2024
2 checks passed
@Tburm Tburm deleted the yield-tokens branch December 16, 2024 17:56
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.

2 participants