Skip to content

add yieldoor project and lp vaults #1918

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

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

Conversation

d-grasshopper
Copy link

Add Yieldoor Yield Adapter

URL: https://app.yieldoor.com/

@llamatester
Copy link

The yieldoor adapter exports pools:

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

Nb of pools: 11
 

Sample pools:
┌─────────┬──────────────────────────────────────────────┬─────────┬────────────┬────────────────────────────────────────────────────────────────────────────────────────────────┬────────────────────┬────────────────────┬─────────────────────┬────────────────────────────────────────────────────────────────┐
│ (index) │ pool                                         │ chain   │ project    │ underlyingTokens                                                                               │ symbol             │ tvlUsd             │ apyBase             │ url                                                            │
├─────────┼──────────────────────────────────────────────┼─────────┼────────────┼────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────┼────────────────────┼─────────────────────┼────────────────────────────────────────────────────────────────┤
│ 0       │ '0x6120de6a13e4496d6c8220bb2a0727ec6350a37f' │ 'Sonic' │ 'yieldoor' │ [ '0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38', '0x29219dd400f2Bf60E5a23d13Be72B486D4038894' ] │ 'yldr-wS-USDC'     │ 21482.55452587733  │ 0                   │ 'https://app.yieldoor.com/vaults/uniswap-sonic-ws-susdce-0.3'  │
│ 1       │ '0xdc8bf0e7ff1742898f8e72143f0b8ab4139272e5' │ 'Sonic' │ 'yieldoor' │ [ '0x29219dd400f2Bf60E5a23d13Be72B486D4038894', '0x50c42dEAcD8Fc9773493ED674b675bE577f2634b' ] │ 'yldr-USDC-WETH'   │ 19308.176200193866 │ 0.23278482270407833 │ 'https://app.yieldoor.com/vaults/shadow-sonic-usdc-weth-100'   │
│ 2       │ '0x55a9a1444dc5ffeff94090c1e31e1a0c2d5da963' │ 'Sonic' │ 'yieldoor' │ [ '0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38', '0x29219dd400f2Bf60E5a23d13Be72B486D4038894' ] │ 'yldr-wS-USDC'     │ 15399.82951179336  │ 0.6746445620684842  │ 'https://app.yieldoor.com/vaults/shadow-sonic-ws-susdce-50'    │
│ 3       │ '0x520e0c1a9071227279b1bec01e2fc93a25c5094e' │ 'Sonic' │ 'yieldoor' │ [ '0x29219dd400f2Bf60E5a23d13Be72B486D4038894', '0xe715cbA7B5cCb33790ceBFF1436809d36cb17E57' ] │ 'yldr-USDC-EURC.e' │ 13228.095567642193 │ 0.09985411822935344 │ 'https://app.yieldoor.com/vaults/shadow-sonic-usdc-eurc-5'     │
│ 4       │ '0xea2dcb8f95d2582f3dfcf8fb9c13488e8dfbbfa3' │ 'Sonic' │ 'yieldoor' │ [ '0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38', '0x50c42dEAcD8Fc9773493ED674b675bE577f2634b' ] │ 'yldr-wS-WETH'     │ 1066.816931951997  │ 0.29149833283912996 │ 'https://app.yieldoor.com/vaults/shadow-sonic-ws-weth-50'      │
│ 5       │ '0x2d4d9ec91b60b2bf29ed1ec5028847dd8237cc17' │ 'Sonic' │ 'yieldoor' │ [ '0x29219dd400f2Bf60E5a23d13Be72B486D4038894', '0x50c42dEAcD8Fc9773493ED674b675bE577f2634b' ] │ 'yldr-USDC-WETH'   │ 522.406881748062   │ 0                   │ 'https://app.yieldoor.com/vaults/uniswap-sonic-usdc-weth-0.05' │
│ 6       │ '0x92ed462970e63b4fe955937cb1741ef5218b8e40' │ 'Base'  │ 'yieldoor' │ [ '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913', '0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf' ] │ 'yldr-USDC-cbBTC'  │ 493.493739522304   │ 0                   │ 'https://app.yieldoor.com/vaults/uniswap-base-cbbtc-usdc-0.05' │
│ 7       │ '0x8e16c184df379196782e943f4d5a2682a8720cc4' │ 'Base'  │ 'yieldoor' │ [ '0x4200000000000000000000000000000000000006', '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913' ] │ 'yldr-WETH-USDC'   │ 375.4857576089282  │ 0                   │ 'https://app.yieldoor.com/vaults/uniswap-base-weth-usdc-0.05'  │
│ 8       │ '0xbce4fdcc570855d1f8f7aa2b29a483bdab6cc2df' │ 'Sonic' │ 'yieldoor' │ [ '0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38', '0x50c42dEAcD8Fc9773493ED674b675bE577f2634b' ] │ 'yldr-wS-WETH'     │ 44.559132873945536 │ 0                   │ 'https://app.yieldoor.com/vaults/uniswap-sonic-ws-weth-0.3'    │
│ 9       │ '0x90d8da2839570901f13124ab1a83e92764c7e08f' │ 'Base'  │ 'yieldoor' │ [ '0x4200000000000000000000000000000000000006', '0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf' ] │ 'yldr-WETH-cbBTC'  │ 24.846409950256312 │ 0                   │ 'https://app.yieldoor.com/vaults/uniswap-base-weth-cbbtc-0.3'  │
└─────────┴──────────────────────────────────────────────┴─────────┴────────────┴────────────────────────────────────────────────────────────────────────────────────────────────┴────────────────────┴────────────────────┴─────────────────────┴────────────────────────────────────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@slasher125
Copy link
Collaborator

gm @d-grasshopper
ty for adding. on symbol pls remove the yldr prefix. apyBase values seem wrong, eg for USDC-WETH i'm seeing 115.75% on ui vs 0.23% in the adapter?

@llamatester
Copy link

The yieldoor adapter exports pools:

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

Nb of pools: 11
 

Sample pools:
┌─────────┬──────────────────────────────────────────────┬─────────┬────────────┬────────────────────────────────────────────────────────────────────────────────────────────────┬───────────────────┬────────────────────┬─────────────────────┬────────────────────────────────────────────────────────────────┐
│ (index) │ pool                                         │ chain   │ project    │ underlyingTokens                                                                               │ symbol            │ tvlUsd             │ apyBase             │ url                                                            │
├─────────┼──────────────────────────────────────────────┼─────────┼────────────┼────────────────────────────────────────────────────────────────────────────────────────────────┼───────────────────┼────────────────────┼─────────────────────┼────────────────────────────────────────────────────────────────┤
│ 0       │ '0x6120de6a13e4496d6c8220bb2a0727ec6350a37f' │ 'Sonic' │ 'yieldoor' │ [ '0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38', '0x29219dd400f2Bf60E5a23d13Be72B486D4038894' ] │ 'yldr-wS-USDC'    │ 19257.412923330667 │ 0                   │ 'https://app.yieldoor.com/vaults/uniswap-sonic-ws-susdce-0.3'  │
│ 1       │ '0xdc8bf0e7ff1742898f8e72143f0b8ab4139272e5' │ 'Sonic' │ 'yieldoor' │ [ '0x29219dd400f2Bf60E5a23d13Be72B486D4038894', '0x50c42dEAcD8Fc9773493ED674b675bE577f2634b' ] │ 'USDC-WETH'       │ 19196.626958895074 │ 0.23256150294133032 │ 'https://app.yieldoor.com/vaults/shadow-sonic-usdc-weth-100'   │
│ 2       │ '0x55a9a1444dc5ffeff94090c1e31e1a0c2d5da963' │ 'Sonic' │ 'yieldoor' │ [ '0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38', '0x29219dd400f2Bf60E5a23d13Be72B486D4038894' ] │ 'wS-USDC'         │ 14746.123721945283 │ 0.6900943723940852  │ 'https://app.yieldoor.com/vaults/shadow-sonic-ws-susdce-50'    │
│ 3       │ '0x520e0c1a9071227279b1bec01e2fc93a25c5094e' │ 'Sonic' │ 'yieldoor' │ [ '0x29219dd400f2Bf60E5a23d13Be72B486D4038894', '0xe715cbA7B5cCb33790ceBFF1436809d36cb17E57' ] │ 'USDC-EURC.e'     │ 13230.386191938345 │ 0.09940797171018732 │ 'https://app.yieldoor.com/vaults/shadow-sonic-usdc-eurc-5'     │
│ 4       │ '0xea2dcb8f95d2582f3dfcf8fb9c13488e8dfbbfa3' │ 'Sonic' │ 'yieldoor' │ [ '0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38', '0x50c42dEAcD8Fc9773493ED674b675bE577f2634b' ] │ 'wS-WETH'         │ 1020.2338634259127 │ 0.29635636866678977 │ 'https://app.yieldoor.com/vaults/shadow-sonic-ws-weth-50'      │
│ 5       │ '0x2d4d9ec91b60b2bf29ed1ec5028847dd8237cc17' │ 'Sonic' │ 'yieldoor' │ [ '0x29219dd400f2Bf60E5a23d13Be72B486D4038894', '0x50c42dEAcD8Fc9773493ED674b675bE577f2634b' ] │ 'yldr-USDC-WETH'  │ 520.5448569130325  │ 0                   │ 'https://app.yieldoor.com/vaults/uniswap-sonic-usdc-weth-0.05' │
│ 6       │ '0x92ed462970e63b4fe955937cb1741ef5218b8e40' │ 'Base'  │ 'yieldoor' │ [ '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913', '0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf' ] │ 'yldr-USDC-cbBTC' │ 492.057767102958   │ 0                   │ 'https://app.yieldoor.com/vaults/uniswap-base-cbbtc-usdc-0.05' │
│ 7       │ '0x8e16c184df379196782e943f4d5a2682a8720cc4' │ 'Base'  │ 'yieldoor' │ [ '0x4200000000000000000000000000000000000006', '0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913' ] │ 'yldr-WETH-USDC'  │ 371.55847559694104 │ 0                   │ 'https://app.yieldoor.com/vaults/uniswap-base-weth-usdc-0.05'  │
│ 8       │ '0xbce4fdcc570855d1f8f7aa2b29a483bdab6cc2df' │ 'Sonic' │ 'yieldoor' │ [ '0x039e2fB66102314Ce7b64Ce5Ce3E5183bc94aD38', '0x50c42dEAcD8Fc9773493ED674b675bE577f2634b' ] │ 'yldr-wS-WETH'    │ 42.60269845737542  │ 0                   │ 'https://app.yieldoor.com/vaults/uniswap-sonic-ws-weth-0.3'    │
│ 9       │ '0x90d8da2839570901f13124ab1a83e92764c7e08f' │ 'Base'  │ 'yieldoor' │ [ '0x4200000000000000000000000000000000000006', '0xcbB7C0000aB88B473b1f5aFd9ef808440eed33Bf' ] │ 'yldr-WETH-cbBTC' │ 24.566168300665662 │ 0                   │ 'https://app.yieldoor.com/vaults/uniswap-base-weth-cbbtc-0.3'  │
└─────────┴──────────────────────────────────────────────┴─────────┴────────────┴────────────────────────────────────────────────────────────────────────────────────────────────┴───────────────────┴────────────────────┴─────────────────────┴────────────────────────────────────────────────────────────────┘
This adapter contains some pools with <10k TVL, these pools won't be shown in DefiLlama

@d-grasshopper
Copy link
Author

Thanks for the response, I've removed the prefix. Also I'm unsure of why the difference between the APY was there, but it's pretty much the same right now. This is pretty much the code we have in our API. Also we're currently manually collecting fees/rebalancing our vaults, so at some points during the day the APYs could be returning 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.

3 participants