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 hyperdrive #1637

Merged
merged 2 commits into from
Dec 6, 2024
Merged

add hyperdrive #1637

merged 2 commits into from
Dec 6, 2024

Conversation

wakamex
Copy link
Contributor

@wakamex wakamex commented Dec 5, 2024

No description provided.

@llamatester
Copy link

The hyperdrive adapter exports pools:

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

Nb of pools: 25
 

Sample pools:
┌─────────┬───────────────────────────────────────────────────────┬────────────┬──────────────┬──────────┬────────────────────┬────────────────────┬────────────────────┬──────────────────────────────────────────────────┬──────────────────────────────────────────────────────────────────────────────────────┐
│ (index) │                         pool                          │   chain    │   project    │  symbol  │       tvlUsd       │        apy         │      apyBase       │                 underlyingTokens                 │                                         url                                          │
├─────────┼───────────────────────────────────────────────────────┼────────────┼──────────────┼──────────┼────────────────────┼────────────────────┼────────────────────┼──────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────┤
│    0    │        'ElementDAO 182 Day wstETH Hyperdrive'         │   'xdai'   │ 'hyperdrive' │ 'wstETH' │ 1671525.4282079593 │ 2.920372704389518  │ 2.920372704389518  │ [ '0x6C76971f98945AE98dD7d4DFcA8711ebea946eA6' ] │  'https://app.hyperdrive.box/market/100/0x2f840f1575EE77adAa43415Ac5953F7Db9F8C6ba'  │
│    1    │         'ElementDAO 182 Day stETH Hyperdrive'         │ 'ethereum' │ 'hyperdrive' │ 'steth'  │ 1670763.3228246581 │ 3.0528720969545953 │ 3.0528720969545953 │ [ '0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84' ] │   'https://app.hyperdrive.box/market/1/0xd7e470043241C10970953Bd8374ee6238e77D735'   │
│    2    │     'ElementDAO 182 Day sGYD Hyperdrive [gnosis]'     │   'xdai'   │ 'hyperdrive' │  'GYD'   │  199880.672684511  │ 10.250707546798576 │ 10.250707546798576 │ [ '0xCA5d8F8a8d49439357d3CF46Ca2e720702F132b8' ] │  'https://app.hyperdrive.box/market/100/0x9248f874AaA2c53AD9324d7A2D033ea133443874'  │
│    3    │         'ElementDAO 182 Day sxDAI Hyperdrive'         │   'xdai'   │ 'hyperdrive' │  'sDAI'  │ 180996.05800492625 │  8.41473104749526  │  8.41473104749526  │ [ '0xaf204776c7245bF4147c2612BF6e5972Ee483701' ] │  'https://app.hyperdrive.box/market/100/0xEe9BFf933aDD313C4289E98dA80fEfbF9d5Cd9Ba'  │
│    4    │     'ElementDAO 182 Day ether.fi eETH Hyperdrive'     │ 'ethereum' │ 'hyperdrive' │  'eETH'  │ 65421.37615423742  │ 3.8727115516300703 │ 3.8727115516300703 │ [ '0x35fA164735182de50811E8e2E824cFb9B6118ac2' ] │   'https://app.hyperdrive.box/market/1/0x158Ed87D7E529CFE274f3036ade49975Fb10f030'   │
│    5    │   'ElementDAO 30 Day Num Finance snARS Hyperdrive'    │   'base'   │ 'hyperdrive' │  'nARS'  │ 37803.86931692774  │ 52.02038941426146  │ 52.02038941426146  │ [ '0x5e40f26E89213660514c51Fb61b2d357DBf63C85' ] │ 'https://app.hyperdrive.box/market/8453/0x1243C06146ACa2D4Aaf8F9860F6D8d59d636d46C'  │
│    6    │         'ElementDAO 182 Day sDAI Hyperdrive'          │ 'ethereum' │ 'hyperdrive' │  'sDAI'  │  25677.5858996239  │ 7.055929674641193  │ 7.055929674641193  │ [ '0x83F20F44975D03b1b09e64809B757c47f942BEeA' ] │   'https://app.hyperdrive.box/market/1/0x324395D5d835F84a02A75Aa26814f6fD22F25698'   │
│    7    │ 'ElementDAO 182 Day Morpho Blue sUSDe/DAI Hyperdrive' │ 'ethereum' │ 'hyperdrive' │  'DAI'   │ 2497.4430070207177 │ 7.374598973906954  │ 7.374598973906954  │ [ '0x6B175474E89094C44Da98b954EedeAC495271d0F' ] │   'https://app.hyperdrive.box/market/1/0xd41225855A5c5Ba1C672CcF4d72D1822a5686d30'   │
│    8    │     'ElementDAO 182 Day KelpDAO rsETH Hyperdrive'     │  'linea'   │ 'hyperdrive' │ 'wrsETH' │ 1636.2630222360956 │ 19.126534229354686 │ 19.126534229354686 │ [ '0xD2671165570f41BBB3B0097893300b6EB6101E6C' ] │ 'https://app.hyperdrive.box/market/59144/0xB56e0Bf37c4747AbbC3aA9B8084B0d9b9A336777' │
│    9    │         'ElementDAO 182 Day rETH Hyperdrive'          │ 'ethereum' │ 'hyperdrive' │  'reth'  │ 764.9509388402927  │ 2.7892352890268812 │ 2.7892352890268812 │ [ '0xae78736Cd615f374D3085123A210448E74Fc6393' ] │   'https://app.hyperdrive.box/market/1/0xca5dB9Bb25D09A9bF3b22360Be3763b5f2d13589'   │
└─────────┴───────────────────────────────────────────────────────┴────────────┴──────────────┴──────────┴────────────────────┴────────────────────┴────────────────────┴──────────────────────────────────────────────────┴──────────────────────────────────────────────────────────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@slasher125
Copy link
Collaborator

@wakamex ty for adding.

  • pls remove apy field, only keep apyBase.
  • pool needs to be an address
  • add poolMeta with the maturity date info Matures on 05-Jun-2025 etc

@llamatester
Copy link

The hyperdrive adapter exports pools:

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

Nb of pools: 25
 

Sample pools:
┌─────────┬──────────────────────────────────────────────┬────────────┬──────────────┬──────────┬────────────────────┬────────────────────┬──────────────────────────────────────────────────┬──────────────────────────────────────────────────────────────────────────────────────┬──────────────────────────────────────────┐
│ (index) │                     pool                     │   chain    │   project    │  symbol  │       tvlUsd       │      apyBase       │                 underlyingTokens                 │                                         url                                          │                 poolMeta                 │
├─────────┼──────────────────────────────────────────────┼────────────┼──────────────┼──────────┼────────────────────┼────────────────────┼──────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────┤
│    0    │ '0x2f840f1575EE77adAa43415Ac5953F7Db9F8C6ba' │   'xdai'   │ 'hyperdrive' │ 'wstETH' │ 1690637.4778235327 │ 2.920372704389518  │ [ '0x6C76971f98945AE98dD7d4DFcA8711ebea946eA6' ] │  'https://app.hyperdrive.box/market/100/0x2f840f1575EE77adAa43415Ac5953F7Db9F8C6ba'  │ 'Matures in 182 days from position open' │
│    1    │ '0xd7e470043241C10970953Bd8374ee6238e77D735' │ 'ethereum' │ 'hyperdrive' │ 'steth'  │ 1679498.0254359995 │ 3.0528720969545953 │ [ '0xae7ab96520DE3A18E5e111B5EaAb095312D7fE84' ] │   'https://app.hyperdrive.box/market/1/0xd7e470043241C10970953Bd8374ee6238e77D735'   │ 'Matures in 182 days from position open' │
│    2    │ '0x9248f874AaA2c53AD9324d7A2D033ea133443874' │   'xdai'   │ 'hyperdrive' │  'GYD'   │ 197474.05689851483 │ 10.250707546798576 │ [ '0xCA5d8F8a8d49439357d3CF46Ca2e720702F132b8' ] │  'https://app.hyperdrive.box/market/100/0x9248f874AaA2c53AD9324d7A2D033ea133443874'  │ 'Matures in 182 days from position open' │
│    3    │ '0xEe9BFf933aDD313C4289E98dA80fEfbF9d5Cd9Ba' │   'xdai'   │ 'hyperdrive' │  'sDAI'  │ 177936.67931209158 │  8.41473104749526  │ [ '0xaf204776c7245bF4147c2612BF6e5972Ee483701' ] │  'https://app.hyperdrive.box/market/100/0xEe9BFf933aDD313C4289E98dA80fEfbF9d5Cd9Ba'  │ 'Matures in 182 days from position open' │
│    4    │ '0x158Ed87D7E529CFE274f3036ade49975Fb10f030' │ 'ethereum' │ 'hyperdrive' │  'eETH'  │ 65875.50484736243  │ 3.8727115516300703 │ [ '0x35fA164735182de50811E8e2E824cFb9B6118ac2' ] │   'https://app.hyperdrive.box/market/1/0x158Ed87D7E529CFE274f3036ade49975Fb10f030'   │ 'Matures in 182 days from position open' │
│    5    │ '0x1243C06146ACa2D4Aaf8F9860F6D8d59d636d46C' │   'base'   │ 'hyperdrive' │  'nARS'  │  37755.9495130359  │ 52.02038941426146  │ [ '0x5e40f26E89213660514c51Fb61b2d357DBf63C85' ] │ 'https://app.hyperdrive.box/market/8453/0x1243C06146ACa2D4Aaf8F9860F6D8d59d636d46C'  │ 'Matures in 30 days from position open'  │
│    6    │ '0x324395D5d835F84a02A75Aa26814f6fD22F25698' │ 'ethereum' │ 'hyperdrive' │  'sDAI'  │ 25351.71067754857  │ 7.055929674641193  │ [ '0x83F20F44975D03b1b09e64809B757c47f942BEeA' ] │   'https://app.hyperdrive.box/market/1/0x324395D5d835F84a02A75Aa26814f6fD22F25698'   │ 'Matures in 182 days from position open' │
│    7    │ '0xd41225855A5c5Ba1C672CcF4d72D1822a5686d30' │ 'ethereum' │ 'hyperdrive' │  'DAI'   │  2494.66640779836  │ 7.374598973906954  │ [ '0x6B175474E89094C44Da98b954EedeAC495271d0F' ] │   'https://app.hyperdrive.box/market/1/0xd41225855A5c5Ba1C672CcF4d72D1822a5686d30'   │ 'Matures in 182 days from position open' │
│    8    │ '0xB56e0Bf37c4747AbbC3aA9B8084B0d9b9A336777' │  'linea'   │ 'hyperdrive' │ 'wrsETH' │  1644.07758205961  │ 19.126534229354686 │ [ '0xD2671165570f41BBB3B0097893300b6EB6101E6C' ] │ 'https://app.hyperdrive.box/market/59144/0xB56e0Bf37c4747AbbC3aA9B8084B0d9b9A336777' │ 'Matures in 182 days from position open' │
│    9    │ '0xca5dB9Bb25D09A9bF3b22360Be3763b5f2d13589' │ 'ethereum' │ 'hyperdrive' │  'reth'  │ 771.6846366295288  │ 2.7892352890268812 │ [ '0xae78736Cd615f374D3085123A210448E74Fc6393' ] │   'https://app.hyperdrive.box/market/1/0xca5dB9Bb25D09A9bF3b22360Be3763b5f2d13589'   │ 'Matures in 182 days from position open' │
└─────────┴──────────────────────────────────────────────┴────────────┴──────────────┴──────────┴────────────────────┴────────────────────┴──────────────────────────────────────────────────┴──────────────────────────────────────────────────────────────────────────────────────┴──────────────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@slasher125 slasher125 merged commit 19eb639 into DefiLlama:master Dec 6, 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