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

Aqua Patina APY adapter #1597

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

sponnet
Copy link

@sponnet sponnet commented Nov 10, 2024

aqua patina APY calculation

@llamatester
Copy link

The aqua-patina adapter exports pools:

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

Nb of pools: 1
 

Sample pools:
┌─────────┬──────────────────────────────────────────────┬────────────┬───────────────┬─────────┬───────────┬──────┐
│ (index) │                     pool                     │   chain    │    project    │ symbol  │  tvlUsd   │ apy  │
├─────────┼──────────────────────────────────────────────┼────────────┼───────────────┼─────────┼───────────┼──────┤
│    0    │ '0xAaAaAAaBC6CBc3A1FD3a0fe0FDec43251C6562F5' │ 'Ethereum' │ 'aqua-patina' │ 'APETH' │ 939694.29 │ 8.07 │
└─────────┴──────────────────────────────────────────────┴────────────┴───────────────┴─────────┴───────────┴──────┘

@slasher125
Copy link
Collaborator

slasher125 commented Nov 11, 2024

@sponnet gm, how is the apy calculated?

@sponnet
Copy link
Author

sponnet commented Nov 14, 2024

TVL versus contract's ETH balance - averaged out over 7 days. We are updating our api backend to reflect this value on a rolling basis. I will ping you here when that is deployed (should be done tomorrow hopefully) Please wait with merging this PR until that is done.
Currently at DevCon so updates are a bit slower than usual. Thx.

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.

4 participants