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

Added Phase #1055

Merged
merged 1 commit into from
Oct 26, 2023
Merged

Added Phase #1055

merged 1 commit into from
Oct 26, 2023

Conversation

0xPhase
Copy link
Contributor

@0xPhase 0xPhase commented Oct 25, 2023

Used onchain data (vaults gotten via the onchain DB) to get yields (Balancer is the onchain balancing entity which calculates yields from all the yield sources, averages them based on deposits and also deducts the management fee).

@llamatester
Copy link

The phase adapter exports pools:

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

Nb of pools: 4
 

Sample pools:
┌─────────┬───────────────────────────────────────────────────┬────────┬─────────┬─────────┬────────────────────┬─────────────────────┬──────────────────────────────────────────────────┬────────────┬────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ (index) │                       pool                        │ chain  │ project │ symbol  │       tvlUsd       │       apyBase       │                 underlyingTokens                 │  poolMeta  │                                                url                                                 │
├─────────┼───────────────────────────────────────────────────┼────────┼─────────┼─────────┼────────────────────┼─────────────────────┼──────────────────────────────────────────────────┼────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────┤
│    0    │ 'base:0x9117e73bd1c75f96c59f521960c9a68134eef215' │ 'Base' │ 'phase' │ 'USDBC' │ 1052.8807114711929 │ 2.6609543170815986  │ [ '0xd9aAEc86B65D86f6A7B5B1b0c42FFA531710b6CA' ] │ 'V1 Vault' │ 'https://app.phase.cash/protocol/vault?network=8453&id=0x9117e73bd1c75f96c59f521960c9a68134eef215' │
│    1    │ 'base:0x8408282813c0a03aa41a835c91856e24dc7ae4c2' │ 'Base' │ 'phase' │ 'WETH'  │ 769.8524173405028  │ 0.8867109804899354  │ [ '0x4200000000000000000000000000000000000006' ] │ 'V1 Vault' │ 'https://app.phase.cash/protocol/vault?network=8453&id=0x8408282813c0a03aa41a835c91856e24dc7ae4c2' │
│    2    │ 'base:0x9af2d80cb9edbf7963f63305913990885707d973' │ 'Base' │ 'phase' │ 'RETH'  │ 55.47715369314618  │          0          │ [ '0xB6fe221Fe9EeF5aBa221c348bA20A1Bf5e73624c' ] │ 'V1 Vault' │ 'https://app.phase.cash/protocol/vault?network=8453&id=0x9af2d80cb9edbf7963f63305913990885707d973' │
│    3    │ 'base:0xb0d6147cef0c8b9e70334acc109538acd4da20d7' │ 'Base' │ 'phase' │ 'CBETH' │ 55.34984810972273  │ 0.08138047013308558 │ [ '0x2Ae3F1Ec7F1F5012CFEab0185bfc7aa3cf0DEc22' ] │ 'V1 Vault' │ 'https://app.phase.cash/protocol/vault?network=8453&id=0xb0d6147cef0c8b9e70334acc109538acd4da20d7' │
└─────────┴───────────────────────────────────────────────────┴────────┴─────────┴─────────┴────────────────────┴─────────────────────┴──────────────────────────────────────────────────┴────────────┴────────────────────────────────────────────────────────────────────────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@waynebruce0x waynebruce0x merged commit cd9747d into DefiLlama:master Oct 26, 2023
1 check passed
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.

3 participants