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

Resolv stUSR yield adapter #1514

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fextr
Copy link
Contributor

@fextr fextr commented Sep 19, 2024

Description:
I am integrating the stUSR yield adapter, which utilizes the RewardDistributed event triggered during the daily reward distribution to stUSR holders, to calculate the 1-day APR. This event occurs once a day, typically around 12:00 UTC.

@fextr fextr force-pushed the resolv-yield-adapter branch 2 times, most recently from 3518068 to d2acf1e Compare September 19, 2024 10:06
@llamatester
Copy link

The resolv adapter exports pools:

Test Suites: 1 passed, 1 total
Tests: 9 passed, 9 total
Snapshots: 0 total
Time: 0.27 s
Ran all test suites.

Nb of pools: 1
 

Sample pools:
┌─────────┬──────────────────────────────────────────────┬─────────┬────────────┬──────────┬───────────────────┬─────────┐
│ (index) │                     pool                     │ symbol  │   chain    │ project  │      tvlUsd       │ apyBase │
├─────────┼──────────────────────────────────────────────┼─────────┼────────────┼──────────┼───────────────────┼─────────┤
│    0    │ '0x6c8984bc7DBBeDAf4F6b2FD766f16eBB7d10AAb4' │ 'stUSR' │ 'ethereum' │ 'resolv' │ 8954438.225421263 │    0    │
└─────────┴──────────────────────────────────────────────┴─────────┴────────────┴──────────┴───────────────────┴─────────┘

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