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

Adding Harmonix yield pools #1657

Merged
merged 2 commits into from
Dec 20, 2024
Merged

Adding Harmonix yield pools #1657

merged 2 commits into from
Dec 20, 2024

Conversation

baonguyen1904
Copy link
Contributor

No description provided.

@llamatester
Copy link

The harmonix-finance adapter exports pools:

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

Nb of pools: 5
 

Sample pools:
┌─────────┬──────────────────────────────────────────────┬────────────┬────────────────────┬────────┬───────────────────┬────────────────────┬───────────┬──────────────┬──────────────────────────────────────────────────────────────────────────────────────┬──────────────────┐
│ (index) │                     pool                     │   chain    │      project       │ symbol │      tvlUsd       │      apyBase       │ apyReward │ rewardTokens │                                         url                                          │ underlyingTokens │
├─────────┼──────────────────────────────────────────────┼────────────┼────────────────────┼────────┼───────────────────┼────────────────────┼───────────┼──────────────┼──────────────────────────────────────────────────────────────────────────────────────┼──────────────────┤
│    0    │ '0x1D47CA37872f4c19Cf6931f801E99A0d618E3688' │ 'arbitrum' │ 'harmonix-finance' │ 'ETH'  │ 286733.9153358954 │ 24.53893465697794  │     0     │      []      │       'https://app.harmonix.fi/vaults/arbitrum-delta-neutral-boost-yield-eth'        │    [ 'ETH' ]     │
│    1    │ '0x4a10C31b642866d3A3Df2268cEcD2c5B14600523' │ 'arbitrum' │ 'harmonix-finance' │ 'USDC' │   221888.364199   │ 31.21206048113865  │     0     │      []      │        'https://app.harmonix.fi/vaults/kelpdao-restaking-delta-neutral-vault'        │        []        │
│    2    │ '0xC71BA0E3C1FB9CBcB15fbC677e78C99aC1bc590B' │ 'arbitrum' │ 'harmonix-finance' │ 'USDC' │   75335.223831    │ 46.25764571433083  │     0     │      []      │           'https://app.harmonix.fi/vaults/arbitrum-pendle-rseth-26dec2024'           │   [ 'rsETH' ]    │
│    3    │ '0x9d95527A298c68526Ad5227fe241B75329D3b91F' │ 'arbitrum' │ 'harmonix-finance' │ 'WBTC' │  26034.92770353   │ 6.965681906320698  │     0     │      []      │                 'https://app.harmonix.fi/vaults/arbitrum-wbtc-vault'                 │        []        │
│    4    │ '0xCf8Be38F161DB8241bbBDbaB4231f9DF62DBc820' │ 'ethereum' │ 'harmonix-finance' │ 'USDC' │    3486.743509    │ 15.543965694665985 │     0     │      []      │ 'https://app.harmonix.fi/vaults/ethereum-kelpdao-gain-restaking-delta-neutral-vault' │        []        │
└─────────┴──────────────────────────────────────────────┴────────────┴────────────────────┴────────┴───────────────────┴────────────────────┴───────────┴──────────────┴──────────────────────────────────────────────────────────────────────────────────────┴──────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@llamatester
Copy link

The harmonix-finance adapter exports pools:

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

Nb of pools: 5
 

Sample pools:
┌─────────┬──────────────────────────────────────────────┬────────────┬────────────────────┬────────┬────────────────────┬────────────────────┬───────────┬──────────────┬──────────────────────────────────────────────────────────────────────────────────────┬──────────────────┐
│ (index) │                     pool                     │   chain    │      project       │ symbol │       tvlUsd       │      apyBase       │ apyReward │ rewardTokens │                                         url                                          │ underlyingTokens │
├─────────┼──────────────────────────────────────────────┼────────────┼────────────────────┼────────┼────────────────────┼────────────────────┼───────────┼──────────────┼──────────────────────────────────────────────────────────────────────────────────────┼──────────────────┤
│    0    │ '0x1D47CA37872f4c19Cf6931f801E99A0d618E3688' │ 'arbitrum' │ 'harmonix-finance' │ 'ETH'  │ 274783.88862602646 │ 20.731189506478962 │     0     │      []      │       'https://app.harmonix.fi/vaults/arbitrum-delta-neutral-boost-yield-eth'        │    [ 'ETH' ]     │
│    1    │ '0x4a10C31b642866d3A3Df2268cEcD2c5B14600523' │ 'arbitrum' │ 'harmonix-finance' │ 'USDC' │   230872.626463    │ 31.38911841936678  │     0     │      []      │        'https://app.harmonix.fi/vaults/kelpdao-restaking-delta-neutral-vault'        │        []        │
│    2    │ '0xC71BA0E3C1FB9CBcB15fbC677e78C99aC1bc590B' │ 'arbitrum' │ 'harmonix-finance' │ 'USDC' │    59705.107303    │ 45.79044568704652  │     0     │      []      │           'https://app.harmonix.fi/vaults/arbitrum-pendle-rseth-26dec2024'           │   [ 'rsETH' ]    │
│    3    │ '0x9d95527A298c68526Ad5227fe241B75329D3b91F' │ 'arbitrum' │ 'harmonix-finance' │ 'WBTC' │   25031.87655651   │ 5.547463040453349  │     0     │      []      │                 'https://app.harmonix.fi/vaults/arbitrum-wbtc-vault'                 │        []        │
│    4    │ '0xCf8Be38F161DB8241bbBDbaB4231f9DF62DBc820' │ 'ethereum' │ 'harmonix-finance' │ 'USDC' │    3486.743509     │ 15.543965694665985 │     0     │      []      │ 'https://app.harmonix.fi/vaults/ethereum-kelpdao-gain-restaking-delta-neutral-vault' │        []        │
└─────────┴──────────────────────────────────────────────┴────────────┴────────────────────┴────────┴────────────────────┴────────────────────┴───────────┴──────────────┴──────────────────────────────────────────────────────────────────────────────────────┴──────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@slasher125
Copy link
Collaborator

gm

  • underlyingTokens needs to be an array of addresses
  • to confirm: apyBase must not contain any token incentives, these should go into apyReward

generally, if the strategies can occur losses then we need to calculate the net apy!

@llamatester
Copy link

The harmonix-finance adapter exports pools:

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

Nb of pools: 5
 

Sample pools:
┌─────────┬──────────────────────────────────────────────┬────────────┬────────────────────┬────────┬────────────────────┬────────────────────┬───────────┬──────────────┬──────────────────────────────────────────────────────────────────────────────────────┬──────────────────────────────────────────────────┐
│ (index) │                     pool                     │   chain    │      project       │ symbol │       tvlUsd       │      apyBase       │ apyReward │ rewardTokens │                                         url                                          │                 underlyingTokens                 │
├─────────┼──────────────────────────────────────────────┼────────────┼────────────────────┼────────┼────────────────────┼────────────────────┼───────────┼──────────────┼──────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────┤
│    0    │ '0x1D47CA37872f4c19Cf6931f801E99A0d618E3688' │ 'arbitrum' │ 'harmonix-finance' │ 'ETH'  │ 262084.44655967283 │ 22.798384154819228 │     0     │      []      │       'https://app.harmonix.fi/vaults/arbitrum-delta-neutral-boost-yield-eth'        │ [ '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1' ] │
│    1    │ '0x4a10C31b642866d3A3Df2268cEcD2c5B14600523' │ 'arbitrum' │ 'harmonix-finance' │ 'USDC' │   259396.737147    │ 32.47260134970291  │     0     │      []      │        'https://app.harmonix.fi/vaults/kelpdao-restaking-delta-neutral-vault'        │ [ '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1' ] │
│    2    │ '0xC71BA0E3C1FB9CBcB15fbC677e78C99aC1bc590B' │ 'arbitrum' │ 'harmonix-finance' │ 'USDC' │    58831.921499    │ 46.94637348388802  │     0     │      []      │           'https://app.harmonix.fi/vaults/arbitrum-pendle-rseth-26dec2024'           │ [ '0x4186BFC76E2E237523CBC30FD220FE055156b41F' ] │
│    3    │ '0x9d95527A298c68526Ad5227fe241B75329D3b91F' │ 'arbitrum' │ 'harmonix-finance' │ 'WBTC' │   24562.5373334    │  6.56038765095317  │     0     │      []      │                 'https://app.harmonix.fi/vaults/arbitrum-wbtc-vault'                 │ [ '0x2f2a2543B76A4166549F7aaB2e75Bef0aefC5B0f' ] │
│    4    │ '0xCf8Be38F161DB8241bbBDbaB4231f9DF62DBc820' │ 'ethereum' │ 'harmonix-finance' │ 'USDC' │    3486.743509     │ 15.543965694665985 │     0     │      []      │ 'https://app.harmonix.fi/vaults/ethereum-kelpdao-gain-restaking-delta-neutral-vault' │ [ '0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2' ] │
└─────────┴──────────────────────────────────────────────┴────────────┴────────────────────┴────────┴────────────────────┴────────────────────┴───────────┴──────────────┴──────────────────────────────────────────────────────────────────────────────────────┴──────────────────────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@baonguyen1904
Copy link
Contributor Author

Gm

  • I modified to return underlyingTokens as an array of addresses
  • For now, our protocol apy is baseApy, not included the rewards token. We will make a PR when our vault including rewardApy.

@slasher125 slasher125 merged commit 485b662 into DefiLlama:master Dec 20, 2024
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